From 9ffcac2bffff9a8b8d1e0130dd55d799c44180b4 Mon Sep 17 00:00:00 2001 From: Rene Groeschke Date: Wed, 6 Nov 2024 11:44:52 +0100 Subject: [PATCH] Enable archive tests on windows again --- .../elasticsearch/packaging/test/ArchiveTests.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/qa/packaging/src/test/java/org/elasticsearch/packaging/test/ArchiveTests.java b/qa/packaging/src/test/java/org/elasticsearch/packaging/test/ArchiveTests.java index 34dd3976dfa52..64fbc6176a31c 100644 --- a/qa/packaging/src/test/java/org/elasticsearch/packaging/test/ArchiveTests.java +++ b/qa/packaging/src/test/java/org/elasticsearch/packaging/test/ArchiveTests.java @@ -19,7 +19,6 @@ import org.elasticsearch.packaging.util.ServerUtils; import org.elasticsearch.packaging.util.Shell; import org.elasticsearch.packaging.util.Shell.Result; -import org.junit.Assume; import org.junit.BeforeClass; import java.nio.file.Files; @@ -113,10 +112,6 @@ public void test32SpecialCharactersInJdkPath() throws Exception { } public void test40AutoconfigurationNotTriggeredWhenNodeIsMeantToJoinExistingCluster() throws Exception { - Assume.assumeFalse( - "https://github.com/elastic/elasticsearch/issues/116299", - distribution.platform == Distribution.Platform.WINDOWS - ); // auto-config requires that the archive owner and the process user be the same, Platforms.onWindows(() -> sh.chown(installation.config, installation.getOwner())); FileUtils.assertPathsDoNotExist(installation.data); @@ -130,10 +125,6 @@ public void test40AutoconfigurationNotTriggeredWhenNodeIsMeantToJoinExistingClus } public void test41AutoconfigurationNotTriggeredWhenNodeCannotContainData() throws Exception { - Assume.assumeFalse( - "https://github.com/elastic/elasticsearch/issues/116299", - distribution.platform == Distribution.Platform.WINDOWS - ); // auto-config requires that the archive owner and the process user be the same Platforms.onWindows(() -> sh.chown(installation.config, installation.getOwner())); ServerUtils.addSettingToExistingConfiguration(installation, "node.roles", "[\"voting_only\", \"master\"]"); @@ -146,10 +137,6 @@ public void test41AutoconfigurationNotTriggeredWhenNodeCannotContainData() throw } public void test42AutoconfigurationNotTriggeredWhenNodeCannotBecomeMaster() throws Exception { - Assume.assumeFalse( - "https://github.com/elastic/elasticsearch/issues/116299", - distribution.platform == Distribution.Platform.WINDOWS - ); // auto-config requires that the archive owner and the process user be the same Platforms.onWindows(() -> sh.chown(installation.config, installation.getOwner())); ServerUtils.addSettingToExistingConfiguration(installation, "node.roles", "[\"ingest\"]");