Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
  • Loading branch information
pstibrany committed Feb 5, 2024
1 parent 0e10d67 commit 1b2a205
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/compactor/blocks_cleaner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func testBlocksCleanerWithOptions(t *testing.T, options testBlocksCleanerOptions
# TYPE cortex_bucket_blocks_partials_count gauge
cortex_bucket_blocks_partials_count{user="user-1"} 2
cortex_bucket_blocks_partials_count{user="user-2"} 0
# HELP cortex_bucket_index_estimated_compaction_jobs Number of compaction jobs based on latest version of bucket index.
# HELP cortex_bucket_index_estimated_compaction_jobs Estimated number of compaction jobs based on latest version of bucket index.
# TYPE cortex_bucket_index_estimated_compaction_jobs gauge
cortex_bucket_index_estimated_compaction_jobs{type="merge",user="user-1"} 0
cortex_bucket_index_estimated_compaction_jobs{type="split",user="user-1"} 0
Expand Down Expand Up @@ -379,7 +379,7 @@ func TestBlocksCleaner_ShouldRemoveMetricsForTenantsNotBelongingAnymoreToTheShar
# TYPE cortex_bucket_blocks_partials_count gauge
cortex_bucket_blocks_partials_count{user="user-1"} 0
cortex_bucket_blocks_partials_count{user="user-2"} 0
# HELP cortex_bucket_index_estimated_compaction_jobs Number of compaction jobs based on latest version of bucket index.
# HELP cortex_bucket_index_estimated_compaction_jobs Estimated number of compaction jobs based on latest version of bucket index.
# TYPE cortex_bucket_index_estimated_compaction_jobs gauge
cortex_bucket_index_estimated_compaction_jobs{type="merge",user="user-1"} 0
cortex_bucket_index_estimated_compaction_jobs{type="split",user="user-1"} 0
Expand Down Expand Up @@ -411,7 +411,7 @@ func TestBlocksCleaner_ShouldRemoveMetricsForTenantsNotBelongingAnymoreToTheShar
# HELP cortex_bucket_blocks_partials_count Total number of partial blocks.
# TYPE cortex_bucket_blocks_partials_count gauge
cortex_bucket_blocks_partials_count{user="user-1"} 0
# HELP cortex_bucket_index_estimated_compaction_jobs Number of compaction jobs based on latest version of bucket index.
# HELP cortex_bucket_index_estimated_compaction_jobs Estimated number of compaction jobs based on latest version of bucket index.
# TYPE cortex_bucket_index_estimated_compaction_jobs gauge
cortex_bucket_index_estimated_compaction_jobs{type="merge",user="user-1"} 0
cortex_bucket_index_estimated_compaction_jobs{type="split",user="user-1"} 0
Expand Down

0 comments on commit 1b2a205

Please sign in to comment.