Skip to content

Commit 6a1b7d4

Browse files
authored
tests(httplib): Fix flakey https test (#4057)
Ideally this test shouldn't even make a request anywhere but this should make it a little more stable. This test failed 3 times on the same PR - https://github.com/getsentry/sentry-python/actions/runs/13337072005/job/37254546574?pr=4056 - https://github.com/getsentry/sentry-python/actions/runs/13337072005/job/37254551103?pr=4056 - https://github.com/getsentry/sentry-python/actions/runs/13337072011/job/37254546356?pr=4056
1 parent ae68d85 commit 6a1b7d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/stdlib/test_httplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def test_span_origin(sentry_init, capture_events):
380380
events = capture_events()
381381

382382
with start_transaction(name="foo"):
383-
conn = HTTPSConnection("example.com")
383+
conn = HTTPConnection("example.com")
384384
conn.request("GET", "/foo")
385385
conn.getresponse()
386386

0 commit comments

Comments
 (0)