Skip to content

Commit 05b5ba9

Browse files
authored
Mute multiple tests on Windows (6.8) (#44679)
* Mute failing test tracked in #44552 * mute EvilSecurityTests tracking in #44558 * Mute failing ForecastIT test on windows Tracking in #44609 * mute BasicRenormalizationIT.testDefaultRenormalization tracked in #44613 * fix mute testDefaultRenormalization * Increase busyWait timeout windows is slow
1 parent 82ecb86 commit 05b5ba9

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

modules/ingest-geoip/src/test/java/org/elasticsearch/ingest/geoip/GeoIpProcessorFactoryTests.java

+3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ public class GeoIpProcessorFactoryTests extends ESTestCase {
5555

5656
@BeforeClass
5757
public static void loadDatabaseReaders() throws IOException {
58+
// there are still problems on windows
59+
assumeFalse("https://github.com/elastic/elasticsearch/issues/44552", Constants.WINDOWS);
60+
5861
// Skip setup because Windows cannot cleanup these files properly. The reason is that they are using
5962
// a MappedByteBuffer which will keep the file mappings active until it is garbage-collected. As a consequence,
6063
// the corresponding file appears to be still in use and Windows cannot delete it.

qa/evil-tests/src/test/java/org/elasticsearch/bootstrap/EvilSecurityTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ public void testEnvironmentPaths() throws Exception {
136136
}
137137

138138
public void testDuplicateDataPaths() throws IOException {
139+
assumeFalse("https://github.com/elastic/elasticsearch/issues/44558", Constants.WINDOWS);
139140
final Path path = createTempDir();
140141
final Path home = path.resolve("home");
141142
final Path data = path.resolve("data");

server/src/test/java/org/elasticsearch/persistent/TestPersistentTasksPlugin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ protected void nodeOperation(AllocatedPersistentTask task, TestParams params, Pe
340340
assertTrue(awaitBusy(() -> testTask.isCancelled() ||
341341
testTask.getOperation() != null ||
342342
clusterService.lifecycleState() != Lifecycle.State.STARTED, // speedup finishing on closed nodes
343-
30, TimeUnit.SECONDS)); // This can take a while during large cluster restart
343+
45, TimeUnit.SECONDS)); // This can take a while during large cluster restart
344344
if (clusterService.lifecycleState() != Lifecycle.State.STARTED) {
345345
return;
346346
}

x-pack/plugin/ml/qa/native-multi-node-tests/src/test/java/org/elasticsearch/xpack/ml/integration/BasicRenormalizationIT.java

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66
package org.elasticsearch.xpack.ml.integration;
77

8+
import org.apache.lucene.util.Constants;
89
import org.elasticsearch.common.unit.TimeValue;
910
import org.elasticsearch.xpack.core.ml.action.GetJobsStatsAction;
1011
import org.elasticsearch.xpack.core.ml.action.GetRecordsAction;
@@ -34,6 +35,7 @@ public void tearDownData() throws Exception {
3435
}
3536

3637
public void testDefaultRenormalization() throws Exception {
38+
assumeFalse("https://github.com/elastic/elasticsearch/issues/44613", Constants.WINDOWS);
3739
String jobId = "basic-renormalization-it-test-default-renormalization-job";
3840
createAndRunJob(jobId, null);
3941

x-pack/plugin/ml/qa/native-multi-node-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ForecastIT.java

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66
package org.elasticsearch.xpack.ml.integration;
77

8+
import org.apache.lucene.util.Constants;
89
import org.elasticsearch.ElasticsearchException;
910
import org.elasticsearch.ElasticsearchStatusException;
1011
import org.elasticsearch.action.support.master.AcknowledgedResponse;
@@ -211,6 +212,7 @@ public void testMemoryStatus() throws Exception {
211212
}
212213

213214
public void testOverflowToDisk() throws Exception {
215+
assumeFalse("https://github.com/elastic/elasticsearch/issues/44609", Constants.WINDOWS);
214216
Detector.Builder detector = new Detector.Builder("mean", "value");
215217
detector.setByFieldName("clientIP");
216218

0 commit comments

Comments
 (0)