Replace DeterministicExecutor::reset with forbid_parking

There's really no point calling reset if we plan on parking afterwards.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2021-07-20 12:28:04 -06:00
co-authored by Max Brunsfeld
parent 64927abbc4
commit ee213696aa
2 changed files with 3 additions and 14 deletions
-2
View File
@@ -523,8 +523,6 @@ impl TestServer {
.await
.unwrap();
// Reset the executor because running SQL queries has a non-deterministic impact on it.
cx.foreground().reset();
client
}