Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Saw this test fail: https://github.com/cortexproject/cortex/actions/runs/10761255507/job/29840284232 Adding this test option to make the test wait until the metric is available. ``` querier_test.go:231: Error Trace: /home/runner/work/cortex/cortex/integration/querier_test.go:231 Error: Received unexpected error: metric not found github.com/cortexproject/cortex/integration/e2e.init <autogenerated>:1 runtime.doInit1 /opt/hostedtoolcache/go/1.22.5/x64/src/runtime/proc.go:7176 runtime.doInit /opt/hostedtoolcache/go/1.22.5/x64/src/runtime/proc.go:7143 runtime.main /opt/hostedtoolcache/go/1.22.5/x64/src/runtime/proc.go:253 runtime.goexit /opt/hostedtoolcache/go/1.22.5/x64/src/runtime/asm_amd64.s:1695 metric=cortex_bucket_store_blocks_loaded service=store-gateway-1 github.com/cortexproject/cortex/integration/e2e.(*HTTPService).SumMetrics /home/runner/work/cortex/cortex/integration/e2e/service.go:619 github.com/cortexproject/cortex/integration/e2e.(*CompositeHTTPService).SumMetrics /home/runner/work/cortex/cortex/integration/e2e/composite_service.go:78 github.com/cortexproject/cortex/integration/e2e.(*CompositeHTTPService).WaitSumMetricsWithOptions /home/runner/work/cortex/cortex/integration/e2e/composite_service.go:55 github.com/cortexproject/cortex/integration/e2e.(*CompositeHTTPService).WaitSumMetrics /home/runner/work/cortex/cortex/integration/e2e/composite_service.go:44 github.com/cortexproject/cortex/integration.TestQuerierWithBlocksStorageRunningInMicroservicesMode.func1 /home/runner/work/cortex/cortex/integration/querier_test.go:231 testing.tRunner /opt/hostedtoolcache/go/1.22.5/x64/src/testing/testing.go:1689 runtime.goexit /opt/hostedtoolcache/go/1.22.5/x64/src/runtime/asm_amd64.s:1695 Test: TestQuerierWithBlocksStorageRunningInMicroservicesMode/blocks_sharding_disabled,_memcached_index_cache,thanosEngine=false ``` Signed-off-by: Charlie Le <[email protected]>
- Loading branch information