From f3917c8c626a80e17828c510fd7dfd8839d06f1c Mon Sep 17 00:00:00 2001 From: sleepycatcoding <131554884+sleepycatcoding@users.noreply.github.com> Date: Sun, 23 Jul 2023 13:14:16 +0300 Subject: [PATCH] core: Run async tasks until stalled Previously it used run which tries to run until completion, but we can't do that if we are testing socket behavior. --- core/src/backend/navigator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/backend/navigator.rs b/core/src/backend/navigator.rs index 468803ccc..60d1304e6 100644 --- a/core/src/backend/navigator.rs +++ b/core/src/backend/navigator.rs @@ -289,7 +289,7 @@ impl NullExecutor { } pub fn run(&mut self) { - self.0.run(); + self.0.run_until_stalled(); } }