Skip to content

Commit 88d129a

Browse files
committed
RDBC-694 Dispose request executors
1 parent a634264 commit 88d129a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ravendb/tests/jvm_migrated_tests/other_tests/test_request_executor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ def test_can_fetch_databases_names(self):
1717
command = database_names_operation.get_command(DocumentConventions())
1818
executor.execute_command(command)
1919
self.assertTrue(self.store.database in command.result)
20+
executor.close()
2021

2122
def test_can_issue_many_requests(self):
2223
ex = RequestExecutor.create(self.store.urls, self.store.database, self.store.conventions)
2324
for _ in range(50):
2425
ex.execute_command(GetDatabaseNamesOperation(0, 20).get_command(DocumentConventions()))
26+
ex.close()
2527

2628
def test_throws_when_updating_topology_of_not_existing_db(self):
2729
executor = RequestExecutor.create(self.store.urls, self.store.database, self.store.conventions)

0 commit comments

Comments
 (0)