< prev index next >

test/jtreg-ext/requires/VMProps.java

Print this page
@  rev 55754 : 8228434: jdk/net/Sockets/Test.java fails after JDK-8227642
|  Summary: Move container constant to separate test lib class
~  Reviewed-by: duke
o  rev 55753 : 8228434: jdk/net/Sockets/Test.java fails after JDK-8227642
|  Reviewed-by: duke
~

*** 44,53 **** --- 44,54 ---- import sun.hotspot.code.Compiler; import sun.hotspot.cpuinfo.CPUInfo; import sun.hotspot.gc.GC; import sun.hotspot.WhiteBox; import jdk.test.lib.Platform; + import jdk.test.lib.Container; /** * The Class to be invoked by jtreg prior Test Suite execution to * collect information about VM. * Do not use any APIs that may not be available in all target VMs.
*** 453,463 **** return "" + isSupported; } private boolean checkDockerSupport() throws IOException, InterruptedException { ! ProcessBuilder pb = new ProcessBuilder(Platform.DOCKER_COMMAND, "ps"); Process p = pb.start(); p.waitFor(10, TimeUnit.SECONDS); return (p.exitValue() == 0); } --- 454,464 ---- return "" + isSupported; } private boolean checkDockerSupport() throws IOException, InterruptedException { ! ProcessBuilder pb = new ProcessBuilder(Container.ENGINE_COMMAND, "ps"); Process p = pb.start(); p.waitFor(10, TimeUnit.SECONDS); return (p.exitValue() == 0); }
< prev index next >