File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
server/src/internalClusterTest/java/org/elasticsearch/discovery Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1818import org .elasticsearch .common .settings .Settings ;
1919import org .elasticsearch .core .TimeValue ;
2020import org .elasticsearch .discovery .zen .ZenDiscovery ;
21+ import org .elasticsearch .jdk .JavaVersion ;
2122import org .elasticsearch .test .ESIntegTestCase ;
2223import org .elasticsearch .test .disruption .BlockMasterServiceOnMaster ;
2324import org .elasticsearch .test .disruption .IntermittentLongGCDisruption ;
@@ -47,6 +48,7 @@ public class MasterDisruptionIT extends AbstractDisruptionTestCase {
4748 * Test that cluster recovers from a long GC on master that causes other nodes to elect a new one
4849 */
4950 public void testMasterNodeGCs () throws Exception {
51+ assumeFalse ("jdk20 removed thread suspend/resume" , JavaVersion .current ().compareTo (JavaVersion .parse ("20" )) >= 0 );
5052 List <String > nodes = startCluster (3 );
5153
5254 String oldMasterNode = internalCluster ().getMasterName ();
You can’t perform that action at this time.
0 commit comments