We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d7b48 commit f67af96Copy full SHA for f67af96
tests/e2e/test_concurrent_telemetry.py
@@ -29,17 +29,9 @@ def telemetry_setup_teardown(self):
29
before each test and shuts it down afterward. Using a fixture makes
30
this robust and automatic.
31
"""
32
- # --- SETUP ---
33
- if TelemetryClientFactory._executor:
34
- TelemetryClientFactory._executor.shutdown(wait=True)
35
- TelemetryClientFactory._clients.clear()
36
- TelemetryClientFactory._executor = None
37
- TelemetryClientFactory._initialized = False
38
-
39
try:
40
- yield # This is where the test runs
+ yield
41
finally:
42
- # --- TEARDOWN ---
43
if TelemetryClientFactory._executor:
44
TelemetryClientFactory._executor.shutdown(wait=True)
45
TelemetryClientFactory._executor = None
0 commit comments