File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1124,12 +1124,13 @@ def wait_until_mnsync_finished(self):
11241124 SYNC_FINISHED = [999 ] * self .num_nodes
11251125 synced = [- 1 ] * self .num_nodes
11261126 time .sleep (2 )
1127- timeout = time .time () + 300
1127+ timeout = time .time () + 45
11281128 while synced != SYNC_FINISHED and time .time () < timeout :
11291129 for i in range (self .num_nodes ):
11301130 if synced [i ] != SYNC_FINISHED [i ]:
11311131 synced [i ] = self .nodes [i ].mnsync ("status" )["RequestedMasternodeAssets" ]
11321132 if synced != SYNC_FINISHED :
1133+ self .advance_mocktime (2 )
11331134 time .sleep (5 )
11341135 if synced != SYNC_FINISHED :
11351136 raise AssertionError ("Unable to complete mnsync: %s" % str (synced ))
@@ -1379,6 +1380,8 @@ def setup_2_masternodes_network(self):
13791380 self .log .info ("masternodes setup completed, initializing them.." )
13801381
13811382 # now both are configured, let's activate the masternodes
1383+ self .stake (1 )
1384+ time .sleep (3 )
13821385 self .advance_mocktime (10 )
13831386 remoteOnePort = p2p_port (self .remoteTwoPos )
13841387 remoteTwoPort = p2p_port (self .remoteOnePos )
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def run_test(self):
132132 self .log .info ("all good, MN2 vote accepted everywhere!" )
133133
134134 # Quick block count check.
135- assert_equal (self .ownerOne .getblockcount (), 275 )
135+ assert_equal (self .ownerOne .getblockcount (), 276 )
136136
137137 self .log .info ("starting budget finalization sync test.." )
138138 self .stake (5 , [self .remoteOne , self .remoteTwo ])
You can’t perform that action at this time.
0 commit comments