Skip to content

Commit 9b67339

Browse files
authored
increase duration to 10sec for TestHaTrackerWithMemberList-checkReplicaTimestamp (#10436)
1 parent cec23fb commit 9b67339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/distributor/ha_tracker_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ func TestHaTrackerWithMemberList(t *testing.T) {
307307
// Update KVStore - this should elect replica 2.
308308
tracker.updateKVStoreAll(context.Background(), now)
309309

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

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

0 commit comments

Comments
 (0)