Skip to content

Commit 0b3dd82

Browse files
committed
Clear telemetry client cache in e2e test teardown
Added _clients.clear() to the teardown fixture to prevent telemetry clients from persisting across e2e tests, which was causing session ID pollution in test_concurrent_queries_sends_telemetry.
1 parent 74821f8 commit 0b3dd82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/e2e/test_concurrent_telemetry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def telemetry_setup_teardown(self):
4141
TelemetryClientFactory._executor.shutdown(wait=True)
4242
TelemetryClientFactory._executor = None
4343
TelemetryClientFactory._stop_flush_thread()
44+
TelemetryClientFactory._clients.clear()
4445
TelemetryClientFactory._initialized = False
4546

4647
def test_concurrent_queries_sends_telemetry(self):

0 commit comments

Comments
 (0)