mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Give syncing in assumevalid.py more time
This commit is contained in:
parent
a05d163036
commit
a7f9f14d36
@ -201,7 +201,7 @@ class AssumeValidTest(BitcoinTestFramework):
|
|||||||
for i in range(200):
|
for i in range(200):
|
||||||
node1.send_message(msg_block(self.blocks[i]))
|
node1.send_message(msg_block(self.blocks[i]))
|
||||||
# Syncing so many blocks can take a while on slow systems. Give it plenty of time to sync.
|
# Syncing so many blocks can take a while on slow systems. Give it plenty of time to sync.
|
||||||
node1.sync_with_ping(120)
|
node1.sync_with_ping(300)
|
||||||
assert_equal(self.nodes[1].getblock(self.nodes[1].getbestblockhash())['height'], 200)
|
assert_equal(self.nodes[1].getblock(self.nodes[1].getbestblockhash())['height'], 200)
|
||||||
|
|
||||||
# Send blocks to node2. Block 102 will be rejected.
|
# Send blocks to node2. Block 102 will be rejected.
|
||||||
|
Loading…
Reference in New Issue
Block a user