Skip to content

Commit 212fe03

Browse files
authored
1 parent 0489a37 commit 212fe03

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@ tests:
154154
- class: org.elasticsearch.search.retriever.rankdoc.RankDocsSortBuilderTests
155155
method: testEqualsAndHashcode
156156
issue: https://github.com/elastic/elasticsearch/issues/112312
157-
- class: org.elasticsearch.blobcache.shared.SharedBlobCacheServiceTests
158-
method: testGetMultiThreaded
159-
issue: https://github.com/elastic/elasticsearch/issues/112314
160157
- class: org.elasticsearch.search.retriever.RankDocRetrieverBuilderIT
161158
method: testRankDocsRetrieverWithCollapse
162159
issue: https://github.com/elastic/elasticsearch/issues/112254

x-pack/plugin/blob-cache/src/test/java/org/elasticsearch/blobcache/shared/SharedBlobCacheServiceTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ public void testMassiveDecay() throws IOException {
444444
* Exercise SharedBlobCacheService#get in multiple threads to trigger any assertion errors.
445445
* @throws IOException
446446
*/
447-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/112305")
448447
public void testGetMultiThreaded() throws IOException {
449448
final int threads = between(2, 10);
450449
final int regionCount = between(1, 20);
@@ -494,11 +493,11 @@ public void testGetMultiThreaded() throws IOException {
494493
assert allowAlreadyClosed || e.getMessage().equals("evicted during free region allocation") : e;
495494
throw e;
496495
}
496+
assertTrue(cacheFileRegion.testOnlyNonVolatileIO() != null || cacheFileRegion.isEvicted());
497497
if (incRef && cacheFileRegion.tryIncRef()) {
498498
if (yield[i] == 0) {
499499
Thread.yield();
500500
}
501-
assertNotNull(cacheFileRegion.testOnlyNonVolatileIO());
502501
cacheFileRegion.decRef();
503502
}
504503
if (evict[i] == 0) {

0 commit comments

Comments
 (0)