Commit 029e92b
Fix CI flake (#3703)
The SQLite-backed metadata storage (cb9f571) introduces initialization
overhead that can cause a race condition in tests that check health
status immediately after seeing "Starting replication" log.
The shape_log_collector_ready condition is set asynchronously in
ShapeCache's handle_continue(:wait_for_restore), which now takes longer
due to SQLite operations. This causes the health check to return
"starting" instead of "active" if checked too quickly.
Fix by using the wait-for macro to poll for active status, allowing up
to 10 seconds for shape initialization to complete.
Co-authored-by: Claude <noreply@anthropic.com>1 parent d969d16 commit 029e92b
File tree
2 files changed
+4
-4
lines changed- integration-tests/tests
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
| 123 | + | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
| 110 | + | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
0 commit comments