From 661fba864025f3d2e3b1efe53b9beb684e821031 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 5 Apr 2023 15:05:32 -0700 Subject: [PATCH] Run executor until parked at end of each iteration of random collaboration test Without this, the server doesn't get dropped at the end of the test, and we eventually run out of file handles due to sqlite connections being retained. --- crates/collab/src/tests/randomized_integration_tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/collab/src/tests/randomized_integration_tests.rs b/crates/collab/src/tests/randomized_integration_tests.rs index e53f33b16d..b85633ba15 100644 --- a/crates/collab/src/tests/randomized_integration_tests.rs +++ b/crates/collab/src/tests/randomized_integration_tests.rs @@ -152,6 +152,8 @@ async fn test_random_collaboration( drop(client); }); } + + deterministic.run_until_parked(); } fn on_failure() {