Skip to content

Commit a663063

Browse files
committed
chore(rqts): Drop unused handler port constant
DEFAULT_HANDLER_PORT described the SAM Local handler endpoint, which the DirectJar mode targeted by cfn test --v2 never uses: the handler JAR is loaded in-process, so no port is bound and nothing referenced the value.
1 parent a9c52a9 commit a663063

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/rpdk/core/rqts/constants.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@
2929
# top-level ``--extension`` option BEFORE the ``run-tests`` subcommand.
3030
EXTENSION_CONTRACT_TESTS = "contract-tests"
3131

32-
# SAM Local handler port. Retained for reference; unused by the DirectJar mode
33-
# that ``cfn test --v2`` targets (DirectJar loads the handler in-process and
34-
# needs no handler endpoint).
35-
DEFAULT_HANDLER_PORT = 3031
36-
37-
# Image pull retry policy (Req 2.4).
32+
# Image pull retry policy.
3833
PULL_MAX_ATTEMPTS = 3
3934
PULL_ATTEMPT_TIMEOUT_SECONDS = 120
4035

0 commit comments

Comments
 (0)