1919import org .elasticsearch .packaging .util .ServerUtils ;
2020import org .elasticsearch .packaging .util .Shell ;
2121import org .elasticsearch .packaging .util .Shell .Result ;
22- import org .junit .Assume ;
2322import org .junit .BeforeClass ;
2423
2524import java .nio .file .Files ;
4948import static org .junit .Assume .assumeThat ;
5049import static org .junit .Assume .assumeTrue ;
5150
51+ @ PackagingTestCase .AwaitsFix (bugUrl = "https://github.com/elastic/elasticsearch/issues/116299" )
5252public class ArchiveTests extends PackagingTestCase {
5353
5454 @ BeforeClass
@@ -113,10 +113,6 @@ public void test32SpecialCharactersInJdkPath() throws Exception {
113113 }
114114
115115 public void test40AutoconfigurationNotTriggeredWhenNodeIsMeantToJoinExistingCluster () throws Exception {
116- Assume .assumeFalse (
117- "https://github.com/elastic/elasticsearch/issues/116299" ,
118- distribution .platform == Distribution .Platform .WINDOWS
119- );
120116 // auto-config requires that the archive owner and the process user be the same,
121117 Platforms .onWindows (() -> sh .chown (installation .config , installation .getOwner ()));
122118 FileUtils .assertPathsDoNotExist (installation .data );
@@ -130,10 +126,6 @@ public void test40AutoconfigurationNotTriggeredWhenNodeIsMeantToJoinExistingClus
130126 }
131127
132128 public void test41AutoconfigurationNotTriggeredWhenNodeCannotContainData () throws Exception {
133- Assume .assumeFalse (
134- "https://github.com/elastic/elasticsearch/issues/116299" ,
135- distribution .platform == Distribution .Platform .WINDOWS
136- );
137129 // auto-config requires that the archive owner and the process user be the same
138130 Platforms .onWindows (() -> sh .chown (installation .config , installation .getOwner ()));
139131 ServerUtils .addSettingToExistingConfiguration (installation , "node.roles" , "[\" voting_only\" , \" master\" ]" );
@@ -146,10 +138,6 @@ public void test41AutoconfigurationNotTriggeredWhenNodeCannotContainData() throw
146138 }
147139
148140 public void test42AutoconfigurationNotTriggeredWhenNodeCannotBecomeMaster () throws Exception {
149- Assume .assumeFalse (
150- "https://github.com/elastic/elasticsearch/issues/116299" ,
151- distribution .platform == Distribution .Platform .WINDOWS
152- );
153141 // auto-config requires that the archive owner and the process user be the same
154142 Platforms .onWindows (() -> sh .chown (installation .config , installation .getOwner ()));
155143 ServerUtils .addSettingToExistingConfiguration (installation , "node.roles" , "[\" ingest\" ]" );
0 commit comments