Skip to content

Commit a68e434

Browse files
committed
tests: align scaling_test reap window to 30m staleNodeThreshold
The reap-window advance in TestChunkedReap was hardcoded to 6 min — fine when staleNodeThreshold was 5 min, but the threshold was bumped to 30 min during the 2026-04-28 rendezvous migration (see vault task 15 + task 27). Bump to 31 min so the test crosses the threshold under either old or new default at the same call site.
1 parent b17db41 commit a68e434

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/scaling_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ func TestChunkedReap(t *testing.T) {
4747
nodeIDs = append(nodeIDs, uint32(resp["node_id"].(float64)))
4848
}
4949

50-
// Advance past stale threshold (5 minutes)
51-
clk.Advance(6 * time.Minute)
50+
// Advance past stale threshold (currently 30 min — bumped from 5 min
51+
// during 2026-04-28 rendezvous-migration tuning; see backlog/27).
52+
clk.Advance(31 * time.Minute)
5253

5354
// Multiple reap calls — chunked reap processes a subset each time
5455
for i := 0; i < 10; i++ {

0 commit comments

Comments
 (0)