@@ -11,7 +11,7 @@ func TestLongRunningSimple(t *testing.T) {
1111 net := testutil .NewDefaultLongRunningNetwork (t , 5 )
1212
1313 net .StartInstances ()
14- net .WaitForAllNodesToEnterRound (40 )
14+ net .WaitForNodesToEnterRound (40 )
1515 net .StopAndAssert (false )
1616}
1717
@@ -22,15 +22,15 @@ func TestLongRunningReplication(t *testing.T) {
2222 }
2323 net .StartInstances ()
2424
25- net .WaitForAllNodesToEnterRound (40 )
25+ net .WaitForNodesToEnterRound (40 )
2626 net .NoMoreBlocks ()
2727 net .DisconnectNodes (2 )
2828 net .ContinueBlocks ()
29- net .WaitForCertainNodesToEnterRound (70 , 1 , 3 , 4 , 5 , 6 )
29+ net .WaitForNodesToEnterRound (70 , 1 , 3 , 4 , 5 , 6 )
3030 net .DisconnectNodes (4 )
31- net .WaitForCertainNodesToEnterRound (90 , 1 , 3 , 5 , 6 , 7 , 8 , 9 )
31+ net .WaitForNodesToEnterRound (90 , 1 , 3 , 5 , 6 , 7 , 8 , 9 )
3232 net .ConnectNodes (2 , 4 )
33- net .WaitForAllNodesToEnterRound (150 )
33+ net .WaitForNodesToEnterRound (150 )
3434 net .StopAndAssert (false )
3535}
3636
@@ -46,14 +46,14 @@ func TestLongRunningCrash(t *testing.T) {
4646 }
4747
4848 net .StartInstances ()
49- net .WaitForAllNodesToEnterRound (30 )
49+ net .WaitForNodesToEnterRound (30 )
5050 net .CrashNodes (3 )
5151 crashedNodeLatestBlock := net .Instances [3 ].Storage .NumBlocks ()
5252
53- net .WaitForCertainNodesToEnterRound (80 , 1 , 2 , 4 , 5 , 6 , 7 , 8 , 9 )
53+ net .WaitForNodesToEnterRound (80 , 1 , 2 , 4 , 5 , 6 , 7 , 8 , 9 )
5454 net .RestartNodes (3 )
5555
5656 waitForRound := math .Max (float64 (crashedNodeLatestBlock * 2 ), 150 )
57- net .WaitForAllNodesToEnterRound (uint64 (waitForRound ))
57+ net .WaitForNodesToEnterRound (uint64 (waitForRound ))
5858 net .StopAndAssert (false )
5959}
0 commit comments