Skip to content

Commit

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

time.Sleep(10 * time.Second)

ts.AssertEqualStoredCommitmentAtIndex(57, ts.Nodes()...)
ts.AssertLatestCommitmentSlotIndex(57, ts.Nodes()...)
ts.AssertBlocksInCacheAccepted(ts.BlocksWithPrefix("59.0"), true, ts.Nodes()...)
Expand Down

0 comments on commit 99cc8c9

Please sign in to comment.