Skip to content

Commit 585e8f3

Browse files
committed
revert
1 parent 85d4e9b commit 585e8f3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/integrations/aws_lambda/utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
)
2828
LAMBDA_FUNCTION_TIMEOUT = 10
2929
SAM_PORT = 3001
30-
TEST_SERVER_PORT = 8000
3130

3231
PYTHON_VERSION = f"python{sys.version_info.major}.{sys.version_info.minor}"
3332

@@ -102,7 +101,7 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
102101
},
103102
)
104103

105-
dsn = f"http://123@{get_host_ip()}:{TEST_SERVER_PORT}/0" # noqa: E231
104+
dsn = f"http://123@{get_host_ip()}:9999/0" # noqa: E231
106105
print("[LocalLambdaStack] Using Sentry DSN: %s" % dsn)
107106

108107
print(
@@ -240,7 +239,7 @@ class SentryServerForTesting:
240239
A simple Sentry.io style server that accepts envelopes and stores them in a list.
241240
"""
242241

243-
def __init__(self, host="127.0.0.1", port=TEST_SERVER_PORT, log_level="warning"):
242+
def __init__(self, host="0.0.0.0", port=9999, log_level="warning"):
244243
self.envelopes = []
245244
self.host = host
246245
self.port = port

0 commit comments

Comments
 (0)