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 18
18
import org .elasticsearch .common .settings .Settings ;
19
19
import org .elasticsearch .core .TimeValue ;
20
20
import org .elasticsearch .discovery .zen .ZenDiscovery ;
21
+ import org .elasticsearch .jdk .JavaVersion ;
21
22
import org .elasticsearch .test .ESIntegTestCase ;
22
23
import org .elasticsearch .test .disruption .BlockMasterServiceOnMaster ;
23
24
import org .elasticsearch .test .disruption .IntermittentLongGCDisruption ;
@@ -47,6 +48,7 @@ public class MasterDisruptionIT extends AbstractDisruptionTestCase {
47
48
* Test that cluster recovers from a long GC on master that causes other nodes to elect a new one
48
49
*/
49
50
public void testMasterNodeGCs () throws Exception {
51
+ assumeFalse ("jdk20 removed thread suspend/resume" , JavaVersion .current ().compareTo (JavaVersion .parse ("20" )) >= 0 );
50
52
List <String > nodes = startCluster (3 );
51
53
52
54
String oldMasterNode = internalCluster ().getMasterName ();
You can’t perform that action at this time.
0 commit comments