Skip to content

Commit 8df8d50

Browse files
authored
Adjust log assertion for default project (#130549)
We changed repo names to be prefixed with project name. Using just `default` here since this is not a multi-project test. Closes #130536
1 parent 7d6bbfa commit 8df8d50

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
@@ -584,9 +584,6 @@ tests:
584584
- class: org.elasticsearch.common.ssl.DefaultJdkTrustConfigTests
585585
method: testGetNonPKCS11TrustStoreWithPasswordSet
586586
issue: https://github.com/elastic/elasticsearch/issues/130519
587-
- class: org.elasticsearch.repositories.blobstore.BlobStoreCorruptionIT
588-
method: testCorruptionDetection
589-
issue: https://github.com/elastic/elasticsearch/issues/130536
590587
- class: org.elasticsearch.multiproject.test.CoreWithMultipleProjectsClientYamlTestSuiteIT
591588
method: test {yaml=indices.resolve_index/10_basic_resolve_index/Resolve index with hidden and closed indices}
592589
issue: https://github.com/elastic/elasticsearch/issues/130568

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)