def test_import_rolling_snapshot_node2(self, sandbox, session): sandbox.add_node(2, snapshot=session['snapshot_rolling'], node_config=NODE_CONFIG) client = sandbox.client(2) utils.synchronize([sandbox.client(1), client], max_diff=0) utils.bake(client, BAKER)
def test_import_rolling_snapshot_node2(self, sandbox, session): sandbox.add_node( 2, snapshot=session['snapshot_rolling'], params=constants.NODE_PARAMS, node_config=NODE_CONFIG, ) client = sandbox.client(2) utils.synchronize([sandbox.client(1), client], max_diff=0) client.multibake(args=["--minimal-timestamp"])
def test_reconstruct_full_node3(self, sandbox, session): sandbox.add_node(3, snapshot=session['snapshot_full'], node_config=NODE_CONFIG) sandbox.node(3).terminate() time.sleep(3) sandbox.node(3).reconstruct() sandbox.node(3).run() client = sandbox.client(3) assert client.check_node_listening() utils.synchronize( [sandbox.client(1), sandbox.client(2), client], max_diff=0) utils.bake(client, BAKER)
def test_reconstruct_full_node3(self, sandbox, session): sandbox.add_node( 3, snapshot=session['snapshot_full'], node_config=NODE_CONFIG, params=constants.NODE_PARAMS, ) sandbox.node(3).terminate() time.sleep(3) sandbox.node(3).reconstruct() sandbox.node(3).run() client = sandbox.client(3) assert client.check_node_listening() utils.synchronize( [sandbox.client(1), sandbox.client(2), client], max_diff=0 ) client.multibake(args=["--minimal-timestamp"])
def test_synchronize(self, sandbox_multibranch): utils.synchronize(sandbox_multibranch.all_clients())
def test_synchronize(self, sandbox: Sandbox): utils.synchronize(sandbox.all_clients())
def test_rerun_node0(self, sandbox): sandbox.node(0).run() sandbox.client(0).check_node_listening() utils.synchronize(sandbox.all_clients(), max_diff=0)