Compare commits

...

2 Commits

Author SHA1 Message Date
peilun-conflux
3f4ac86844
Merge 8d1c5b6f3c into 8f17a7ad72 2024-10-22 14:14:51 +08:00
Peilun Li
8d1c5b6f3c Start nodes sequentially to fix some random failure.
Currently we use the config `network_libp2p_nodes` to connect nodes
in the tests. This will not be retried, so if an early node starts
too slowly, other nodes may fail to connect to it.
2024-10-21 15:47:57 +08:00

View File

@ -209,13 +209,11 @@ class TestFramework:
if i > 0:
time.sleep(1)
node.start()
node.wait_for_rpc_connection()
self.log.info("Wait the zgs_node launch for %d seconds", self.launch_wait_seconds)
time.sleep(self.launch_wait_seconds)
for node in self.nodes:
node.wait_for_rpc_connection()
def add_arguments(self, parser: argparse.ArgumentParser):
parser.add_argument(
"--conflux-binary",