8231943: ZGC: Enable serviceability/dcmd/gc/RunGCTest
authorpliden
Mon, 21 Oct 2019 09:55:31 +0200
changeset 58702 215308c0d5e8
parent 58701 5d10ba4a0468
child 58703 c203d10291e1
8231943: ZGC: Enable serviceability/dcmd/gc/RunGCTest Reviewed-by: tschatzl, eosterlund, sspitsyn
test/hotspot/jtreg/serviceability/dcmd/gc/RunGCTest.java
--- a/test/hotspot/jtreg/serviceability/dcmd/gc/RunGCTest.java	Mon Oct 21 09:51:24 2019 +0200
+++ b/test/hotspot/jtreg/serviceability/dcmd/gc/RunGCTest.java	Mon Oct 21 09:55:31 2019 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -36,13 +36,12 @@
 /*
  * @test
  * @summary Test of diagnostic command GC.run
- * @requires vm.gc != "Z"
  * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.compiler
  *          java.management
  *          jdk.internal.jvmstat/sun.jvmstat.monitor
- * @run testng/othervm -Xlog:gc=debug:RunGC.gclog -XX:-ExplicitGCInvokesConcurrent RunGCTest
+ * @run testng/othervm -Xlog:gc:RunGC.gclog -XX:-ExplicitGCInvokesConcurrent RunGCTest
  */
 public class RunGCTest {
     public void run(CommandExecutor executor) {
@@ -58,7 +57,7 @@
         }
 
         OutputAnalyzer output = new OutputAnalyzer(gcLog, "");
-        output.shouldContain("Pause Full (Diagnostic Command)");
+        output.shouldContain("(Diagnostic Command)");
     }
 
     @Test