Skip to content

Commit be90c4a

Browse files
authored
Fixed compactor test due to error message change (#6814)
Signed-off-by: Alex Le <[email protected]>
1 parent 7c7e069 commit be90c4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/compactor/compactor_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,8 +1490,8 @@ func removeIgnoredLogs(input []string) []string {
14901490
`level=info component=compactor msg="auto-joining cluster after timeout" ring=compactor`: {},
14911491
`level=info component=compactor msg="lifecycler loop() exited gracefully" ring=compactor`: {},
14921492
`level=info component=compactor msg="changing instance state from" old_state=ACTIVE new_state=LEAVING ring=compactor`: {},
1493-
`level=error component=compactor msg="failed to set state to LEAVING" ring=compactor err="Changing instance state from LEAVING -> LEAVING is disallowed"`: {},
1494-
`level=error component=compactor msg="failed to set state to LEAVING" ring=compactor err="Changing instance state from JOINING -> LEAVING is disallowed"`: {},
1493+
`level=error component=compactor msg="failed to set state to LEAVING" ring=compactor err="changing instance state from LEAVING -> LEAVING is disallowed"`: {},
1494+
`level=error component=compactor msg="failed to set state to LEAVING" ring=compactor err="changing instance state from JOINING -> LEAVING is disallowed"`: {},
14951495
`level=info component=compactor msg="user index not found, fallback to base scanner"`: {},
14961496
`level=error component=compactor msg="context timeout, exit user index update loop" err="context canceled"`: {},
14971497
`level=debug component=compactor msg="unregistering instance from ring" ring=compactor`: {},

0 commit comments

Comments
 (0)