From 52f700c86ea3d64ab7295bfcca1a1f4c4d123667 Mon Sep 17 00:00:00 2001 From: bruno-valante <140794260+bruno-valante@users.noreply.github.com> Date: Thu, 26 Dec 2024 20:49:32 +0800 Subject: [PATCH] Fix node launch process in test framework (#305) --- tests/test_framework/test_framework.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_framework/test_framework.py b/tests/test_framework/test_framework.py index a940d7a..3f23782 100644 --- a/tests/test_framework/test_framework.py +++ b/tests/test_framework/test_framework.py @@ -215,10 +215,12 @@ 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(