Skip to content

Commit 304b689

Browse files
committed
test: Increase wait time in TestQueryLimit for CI
The test was failing in CI due to timing issues - the query was happening before all edits were processed. Increased the sleep from 1s to 2s to give the daemon more time in slower CI environments.
1 parent 8044de2 commit 304b689

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/e2e/config_e2e_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ max_limit = 50
301301
}
302302

303303
// Wait for all edits to be processed
304-
time.Sleep(1 * time.Second)
304+
// Use longer delay for CI environments which may be slower
305+
time.Sleep(2 * time.Second)
305306

306307
// Query without limit (should use default from config)
307308
queryPayload := map[string]interface{}{

0 commit comments

Comments
 (0)