Skip to content

Commit 86dace2

Browse files
committed
remove async cleanup of kill all sessions
1 parent 560b644 commit 86dace2

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

test/asynchronous/unified_format.py

-1
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,6 @@ async def run_scenario(self, spec, uri=None):
13871387
# transaction (from a test failure) from blocking collection/database
13881388
# operations during test set up and tear down.
13891389
await self.kill_all_sessions()
1390-
self.addAsyncCleanup(self.kill_all_sessions)
13911390

13921391
if "csot" in self.id().lower():
13931392
# Retry CSOT tests up to 2 times to deal with flakey tests.

test/unified_format.py

-1
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,6 @@ def run_scenario(self, spec, uri=None):
13741374
# transaction (from a test failure) from blocking collection/database
13751375
# operations during test set up and tear down.
13761376
self.kill_all_sessions()
1377-
self.addCleanup(self.kill_all_sessions)
13781377

13791378
if "csot" in self.id().lower():
13801379
# Retry CSOT tests up to 2 times to deal with flakey tests.

0 commit comments

Comments
 (0)