Skip to content

Commit 8aadfaf

Browse files
committed
Adjust log assertion for default project
1 parent e07f9fe commit 8aadfaf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,6 @@ tests:
602602
- class: org.elasticsearch.common.ssl.DefaultJdkTrustConfigTests
603603
method: testGetNonPKCS11TrustStoreWithPasswordSet
604604
issue: https://github.com/elastic/elasticsearch/issues/130519
605-
- class: org.elasticsearch.repositories.blobstore.BlobStoreCorruptionIT
606-
method: testCorruptionDetection
607-
issue: https://github.com/elastic/elasticsearch/issues/130536
608605

609606
# Examples:
610607
#

server/src/internalClusterTest/java/org/elasticsearch/repositories/blobstore/BlobStoreCorruptionIT.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void testCorruptionDetection() throws Exception {
9090
"fallback message",
9191
"org.elasticsearch.repositories.blobstore.BlobStoreRepository",
9292
Level.ERROR,
93-
"index [*] shard generation [*] in ["
93+
"index [*] shard generation [*] in [default/"
9494
+ repositoryName
9595
+ "][*] not found - falling back to reading all shard snapshots"
9696
)
@@ -100,7 +100,9 @@ public void testCorruptionDetection() throws Exception {
100100
"shard blobs list",
101101
"org.elasticsearch.repositories.blobstore.BlobStoreRepository",
102102
Level.ERROR,
103-
"read shard snapshots [*] due to missing shard generation [*] for index [*] in [" + repositoryName + "][*]"
103+
"read shard snapshots [*] due to missing shard generation [*] for index [*] in [default/"
104+
+ repositoryName
105+
+ "][*]"
104106
)
105107
);
106108
client().admin()

0 commit comments

Comments
 (0)