Skip to content

Commit e31dc94

Browse files
committed
fix(tsdb): fix wrong expected error string, follow prom PR 15455
Due to prometheus/prometheus#15455 Signed-off-by: György Krajcsovits <[email protected]>
1 parent ad50e6d commit e31dc94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsdb/compact_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2506,7 +2506,7 @@ func TestAsyncBlockWriterFailure(t *testing.T) {
25062506
// Wait for result, this time we get error due to missing symbols.
25072507
_, err = abw.waitFinished()
25082508
require.Error(t, err)
2509-
require.ErrorContains(t, err, "unknown symbol")
2509+
require.ErrorContains(t, err, "symbol entry for \"__name__\" does not exist")
25102510

25112511
// We get the same error on each repeated call to waitFinished.
25122512
for i := 0; i < 5; i++ {

0 commit comments

Comments
 (0)