Skip to content

Commit 8a1c2fb

Browse files
go/vt/vtgate/schema: bump TestTrackerNoLock channel-send timeout
TestTrackerNoLock pushes 500,000 messages onto a channel and asserts each send completes within 10ms. Under CI load that's tight enough to flake regularly, surfacing as: tracker_test.go:199: failed to send health check to tracker Match the fix from PR #18317: bump the per-send timeout to 50ms. Backport of the go/vt/vtgate/schema/tracker_test.go slice of #18317 (the materializer_test.go slice is for an unrelated test). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Arthur Schreiber <arthur@planetscale.com>
1 parent e3cd779 commit 8a1c2fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

go/vt/vtgate/schema/tracker_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func TestTrackerNoLock(t *testing.T) {
195195
for i := 0; i < 500000; i++ {
196196
select {
197197
case ch <- th:
198-
case <-time.After(10 * time.Millisecond):
198+
case <-time.After(50 * time.Millisecond):
199199
t.Fatalf("failed to send health check to tracker")
200200
}
201201
}

0 commit comments

Comments
 (0)