Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Jan 29, 2025
1 parent 734e559 commit d89087b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2etest/unbondingwatcher_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,11 +426,12 @@ func TestUnbondingLoaded(t *testing.T) {
staker.PrepareUnbondingTx(t, tm)
staker.SendTxAndWait(t, tm, staker.unbondingSlashingInfo.UnbondingTx)
}()
tm.mineBlock(t)
}

wg.Wait()

tm.BitcoindHandler.GenerateBlocks(100)
tm.BitcoindHandler.GenerateBlocks(1000)
tm.CatchUpBTCLightClient(t)

// send delegations
Expand Down Expand Up @@ -464,7 +465,7 @@ func TestUnbondingLoaded(t *testing.T) {
}

return len(activeMap) == len(stakers)
}, 25*time.Minute, 200*time.Millisecond)
}, 35*time.Minute, 200*time.Millisecond)

t.Logf("avg time to detect unbonding: %v", avgTimeToDetectUnbonding(stakers))
}

0 comments on commit d89087b

Please sign in to comment.