Skip to content

Commit

Permalink
long wait, slow poll
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Nov 27, 2024
1 parent 77abb1d commit 88fc3cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2etest/unbondingwatcher_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestUnbondingWatcher(t *testing.T) {

commonCfg := config.DefaultCommonConfig()
bstCfg := config.DefaultBTCStakingTrackerConfig()
bstCfg.CheckDelegationsInterval = 1 * time.Second
bstCfg.CheckDelegationsInterval = 2 * time.Second
stakingTrackerMetrics := metrics.NewBTCStakingTrackerMetrics()

bsTracker := bst.NewBTCStakingTracker(
Expand All @@ -75,7 +75,7 @@ func TestUnbondingWatcher(t *testing.T) {
}

var delegations []testStakingBundle
expectedUnbonds := 1000
expectedUnbonds := 800

var gr errgroup.Group
for i := 0; i < expectedUnbonds; i++ {
Expand Down Expand Up @@ -175,7 +175,7 @@ func TestUnbondingWatcher(t *testing.T) {
}

return countActive == len(delegations)
}, eventuallyWaitTimeOut, eventuallyPollTime)
}, 15*time.Minute, 2*time.Second)
t.Logf("time took for all delegations to be unbonded %s", time.Since(t0))
}

Expand Down

0 comments on commit 88fc3cb

Please sign in to comment.