Skip to content

Commit

Permalink
Mute one more disruption test (#94298) (#94340)
Browse files Browse the repository at this point in the history
In #94207 we missed one disruption test still mimicking GC.
  • Loading branch information
rjernst authored Mar 6, 2023
1 parent 1c42f32 commit d6756ed
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.core.TimeValue;
import org.elasticsearch.discovery.zen.ZenDiscovery;
import org.elasticsearch.jdk.JavaVersion;
import org.elasticsearch.test.ESIntegTestCase;
import org.elasticsearch.test.disruption.BlockMasterServiceOnMaster;
import org.elasticsearch.test.disruption.IntermittentLongGCDisruption;
Expand Down Expand Up @@ -47,6 +48,7 @@ public class MasterDisruptionIT extends AbstractDisruptionTestCase {
* Test that cluster recovers from a long GC on master that causes other nodes to elect a new one
*/
public void testMasterNodeGCs() throws Exception {
assumeFalse("jdk20 removed thread suspend/resume", JavaVersion.current().compareTo(JavaVersion.parse("20")) >= 0);
List<String> nodes = startCluster(3);

String oldMasterNode = internalCluster().getMasterName();
Expand Down

0 comments on commit d6756ed

Please sign in to comment.