Skip to content

Commit b556182

Browse files
Mute flaky windows tests (#92214) (#92623)
Test failure report: #91609 Co-authored-by: William Brafford <[email protected]>
1 parent 03983ae commit b556182

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

server/src/test/java/org/elasticsearch/plugins/UberModuleClassLoaderTests.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
package org.elasticsearch.plugins;
1010

11+
import org.apache.lucene.util.Constants;
1112
import org.elasticsearch.common.Strings;
1213
import org.elasticsearch.test.ESTestCase;
1314
import org.elasticsearch.test.compiler.InMemoryJavaCompiler;
@@ -465,8 +466,9 @@ public static String demo() {
465466
JarUtils.createJarWithEntries(jar, jarEntries);
466467
}
467468

469+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/91609")
468470
public void testServiceLoadingWithOptionalDependencies() throws Exception {
469-
471+
assumeFalse("Tests frequently fail on Windows", Constants.WINDOWS);
470472
try (UberModuleClassLoader loader = getServiceTestLoader(true)) {
471473

472474
Class<?> serviceCallerClass = loader.loadClass("q.caller.ServiceCaller");
@@ -483,8 +485,9 @@ public void testServiceLoadingWithOptionalDependencies() throws Exception {
483485
}
484486
}
485487

488+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/91609")
486489
public void testServiceLoadingWithoutOptionalDependencies() throws Exception {
487-
490+
assumeFalse("Tests frequently fail on Windows", Constants.WINDOWS);
488491
try (UberModuleClassLoader loader = getServiceTestLoader(false)) {
489492

490493
Class<?> serviceCallerClass = loader.loadClass("q.caller.ServiceCaller");

0 commit comments

Comments
 (0)