Skip to content

Commit

Permalink
increase duration to 10sec for TestHaTrackerWithMemberList-checkRepli…
Browse files Browse the repository at this point in the history
…caTimestamp (#10436)
  • Loading branch information
NickAnge authored Jan 15, 2025
1 parent cec23fb commit 9b67339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/distributor/ha_tracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ func TestHaTrackerWithMemberList(t *testing.T) {
// Update KVStore - this should elect replica 2.
tracker.updateKVStoreAll(context.Background(), now)

// Evaluate up to 2 seconds to verify whether the tracker’s cache replica has been updated to r2.
checkReplicaTimestamp(t, 2*time.Second, tracker, "user", cluster, replica2, now, now)
// Evaluate up to 10 seconds to verify whether the tracker’s cache replica has been updated to r2.
checkReplicaTimestamp(t, 10*time.Second, tracker, "user", cluster, replica2, now, now)

// Now we should accept from replica 2.
err = tracker.checkReplica(context.Background(), "user", cluster, replica2, now)
Expand Down

0 comments on commit 9b67339

Please sign in to comment.