Skip to content

Commit 6af4011

Browse files
committed
Revert "address teardown failures in data lake tests"
This reverts commit e3d99bd.
1 parent e3d99bd commit 6af4011

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

test/asynchronous/test_data_lake.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,20 +80,17 @@ async def test_1(self):
8080
self.assertEqual(cursor_ns, target_ns)
8181

8282
self.assertIn(cursor_id, succeeded.reply["cursorsKilled"])
83-
await client.close()
8483

8584
# Test no auth
8685
async def test_2(self):
8786
client = await self.async_rs_client_noauth()
8887
await client.admin.command("ping")
89-
await client.close()
9088

9189
# Test with auth
9290
async def test_3(self):
9391
for mechanism in ["SCRAM-SHA-1", "SCRAM-SHA-256"]:
9492
client = await self.async_rs_or_single_client(authMechanism=mechanism)
9593
await client[self.TEST_DB][self.TEST_COLLECTION].find_one()
96-
await client.close()
9794

9895

9996
# Location of JSON test specifications.

test/test_data_lake.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,20 +80,17 @@ def test_1(self):
8080
self.assertEqual(cursor_ns, target_ns)
8181

8282
self.assertIn(cursor_id, succeeded.reply["cursorsKilled"])
83-
client.close()
8483

8584
# Test no auth
8685
def test_2(self):
8786
client = self.rs_client_noauth()
8887
client.admin.command("ping")
89-
client.close()
9088

9189
# Test with auth
9290
def test_3(self):
9391
for mechanism in ["SCRAM-SHA-1", "SCRAM-SHA-256"]:
9492
client = self.rs_or_single_client(authMechanism=mechanism)
9593
client[self.TEST_DB][self.TEST_COLLECTION].find_one()
96-
client.close()
9794

9895

9996
# Location of JSON test specifications.

0 commit comments

Comments
 (0)