1919import org .elasticsearch .packaging .util .ServerUtils ;
2020import org .elasticsearch .packaging .util .Shell ;
2121import org .elasticsearch .packaging .util .Shell .Result ;
22+ import org .junit .Assume ;
2223import org .junit .BeforeClass ;
2324
2425import java .nio .file .Files ;
@@ -112,6 +113,10 @@ public void test32SpecialCharactersInJdkPath() throws Exception {
112113 }
113114
114115 public void test40AutoconfigurationNotTriggeredWhenNodeIsMeantToJoinExistingCluster () throws Exception {
116+ Assume .assumeFalse (
117+ "https://github.com/elastic/elasticsearch/issues/116299" ,
118+ distribution .platform == Distribution .Platform .WINDOWS
119+ );
115120 // auto-config requires that the archive owner and the process user be the same,
116121 Platforms .onWindows (() -> sh .chown (installation .config , installation .getOwner ()));
117122 FileUtils .assertPathsDoNotExist (installation .data );
@@ -124,8 +129,11 @@ public void test40AutoconfigurationNotTriggeredWhenNodeIsMeantToJoinExistingClus
124129 FileUtils .rm (installation .data );
125130 }
126131
127- @ AwaitsFix (bugUrl = "https://github.com/elastic/elasticsearch/issues/116299" )
128132 public void test41AutoconfigurationNotTriggeredWhenNodeCannotContainData () throws Exception {
133+ Assume .assumeFalse (
134+ "https://github.com/elastic/elasticsearch/issues/116299" ,
135+ distribution .platform == Distribution .Platform .WINDOWS
136+ );
129137 // auto-config requires that the archive owner and the process user be the same
130138 Platforms .onWindows (() -> sh .chown (installation .config , installation .getOwner ()));
131139 ServerUtils .addSettingToExistingConfiguration (installation , "node.roles" , "[\" voting_only\" , \" master\" ]" );
@@ -138,6 +146,10 @@ public void test41AutoconfigurationNotTriggeredWhenNodeCannotContainData() throw
138146 }
139147
140148 public void test42AutoconfigurationNotTriggeredWhenNodeCannotBecomeMaster () throws Exception {
149+ Assume .assumeFalse (
150+ "https://github.com/elastic/elasticsearch/issues/116299" ,
151+ distribution .platform == Distribution .Platform .WINDOWS
152+ );
141153 // auto-config requires that the archive owner and the process user be the same
142154 Platforms .onWindows (() -> sh .chown (installation .config , installation .getOwner ()));
143155 ServerUtils .addSettingToExistingConfiguration (installation , "node.roles" , "[\" ingest\" ]" );
0 commit comments