From fa6db79302d28e6b31b07b24580430614ffcd0e8 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Wed, 6 Aug 2025 09:41:13 +0200 Subject: [PATCH] test: Avoid shutdown race in NetworkThread --- test/functional/test_framework/test_framework.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index 47339761845..a44b39355ec 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -345,6 +345,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass): self.log.debug('Setting up network thread') self.network_thread = NetworkThread() self.network_thread.start() + self.wait_until(lambda: self.network_thread.network_event_loop.is_running()) if self.options.usecli: if not self.supports_cli: