Skip to content

Commit

Permalink
Feat: increased waiting time for test to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hmoog committed Nov 3, 2023
1 parent e54b283 commit 69745c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/tests/loss_of_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ func TestLossOfAcceptanceFromGenesis(t *testing.T) {
{
ts.IssueBlocksAtSlots("", []iotago.SlotIndex{58, 59}, 3, "57.2", ts.Nodes("node0", "node1", "node2"), true, nil)

time.Sleep(5 * time.Second)
// wait for node to warp-sync before checking (we warp-sync one by one which takes a few seconds)
time.Sleep(10 * time.Second)

ts.AssertEqualStoredCommitmentAtIndex(57, ts.Nodes()...)
ts.AssertLatestCommitmentSlotIndex(57, ts.Nodes()...)
Expand Down

0 comments on commit 69745c2

Please sign in to comment.