< prev index next >

test/jdk/jdk/internal/platform/cgroup/TestCgroupMetrics.java

Print this page
@  rev 56863 : 8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy
|  Reviewed-by: bobv
~

@@ -41,17 +41,10 @@
             System.out.println("TEST PASSED!!!");
             return;
         }
 
         MetricsTester metricsTester = new MetricsTester();
-        metricsTester.setup();
-        metricsTester.testCpuAccounting();
-        metricsTester.testCpuSchedulingMetrics();
-        metricsTester.testCpuSets();
-        metricsTester.testMemorySubsystem();
-        metricsTester.testBlkIO();
-        metricsTester.testCpuConsumption();
-        metricsTester.testMemoryUsage();
+        metricsTester.testAll(metrics);
         System.out.println("TEST PASSED!!!");
     }
 
 }
< prev index next >