From 440a85a534a05bc1d5835fbf2330127df4491d3c Mon Sep 17 00:00:00 2001 From: zebra-lucky Date: Sun, 12 Oct 2025 04:30:56 +0300 Subject: [PATCH] fix sequential tests run --- conftest.py | 2 ++ test/unified/test_e2e_coinjoin.py | 1 + 2 files changed, 3 insertions(+) diff --git a/conftest.py b/conftest.py index 971eb50..f6f4f71 100644 --- a/conftest.py +++ b/conftest.py @@ -7,6 +7,8 @@ from typing import Any, Tuple import pytest +import jmclient # install asyncioreactor + def get_bitcoind_version(bitcoind_path: str, conf: str) -> Tuple[int, int]: """ diff --git a/test/unified/test_e2e_coinjoin.py b/test/unified/test_e2e_coinjoin.py index 0957f04..fdc38d1 100644 --- a/test/unified/test_e2e_coinjoin.py +++ b/test/unified/test_e2e_coinjoin.py @@ -178,6 +178,7 @@ class TWalletRPCManager(object): class E2ETCoinjoinTests(TrialTestCase): def setUp(self): + asyncio.set_event_loop(reactor._asyncioEventloop) # For quicker testing, restrict the range of timelock # addresses to avoid slow load of multiple bots. self._orig_TIMELOCK_ERA_YEARS = \