mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-01-12 16:15:17 +00:00
Fix node launch process in test framework (#305)
Some checks are pending
abi-consistent-check / build-and-compare (push) Waiting to run
code-coverage / unittest-cov (push) Waiting to run
rust / check (push) Waiting to run
rust / test (push) Waiting to run
rust / lints (push) Waiting to run
functional-test / test (push) Waiting to run
Some checks are pending
abi-consistent-check / build-and-compare (push) Waiting to run
code-coverage / unittest-cov (push) Waiting to run
rust / check (push) Waiting to run
rust / test (push) Waiting to run
rust / lints (push) Waiting to run
functional-test / test (push) Waiting to run
This commit is contained in:
parent
4e5b14c0a3
commit
52f700c86e
@ -215,11 +215,13 @@ class TestFramework:
|
|||||||
if i > 0:
|
if i > 0:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
node.start()
|
node.start()
|
||||||
node.wait_for_rpc_connection()
|
|
||||||
|
|
||||||
self.log.info("Wait the zgs_node launch for %d seconds", self.launch_wait_seconds)
|
self.log.info("Wait the zgs_node launch for %d seconds", self.launch_wait_seconds)
|
||||||
time.sleep(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):
|
def add_arguments(self, parser: argparse.ArgumentParser):
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--conflux-binary",
|
"--conflux-binary",
|
||||||
|
Loading…
Reference in New Issue
Block a user