Commit e2f2cd6
authored
fix: Wait for ring convergence in TestQueryFrontendResponseSizeLimit (#7490)
The test was flaky because it pushed samples before the distributor
discovered the ingester in the ring, causing 'InstancesCount <= 0'
errors. Add WaitSumMetrics on cortex_ring_tokens_total to ensure the
distributor sees the ingester's tokens before pushing.
Signed-off-by: Ben Ye <benye@amazon.com>1 parent 2c60463 commit e2f2cd6
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
992 | 995 | | |
993 | 996 | | |
994 | 997 | | |
| |||
0 commit comments