Commit 6306300
committed
fix(tests): poll for ClickHouse ingestion in metrics test
Replace fixed wait(3000) with the existing waitForMetricsToIncludeUsersByCountry
helper. The last sign-in (mailbox-3 → CH) sometimes wasn't ingested by
ClickHouse before the metrics call fired, causing the CH bucket to be
missing from the response and the snapshot to fail intermittently in CI.1 parent 82dd811 commit 6306300
1 file changed
Lines changed: 2 additions & 3 deletions
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | | - | |
178 | | - | |
| 176 | + | |
| 177 | + | |
179 | 178 | | |
180 | 179 | | |
181 | 180 | | |
| |||
0 commit comments