jdk/test/javax/management/monitor/StartStopTest.java
changeset 25751 561ceea4b5e9
parent 24366 57c0a8b7a936
child 30376 2ccf2cf7ea48
--- a/jdk/test/javax/management/monitor/StartStopTest.java	Fri Jul 25 17:11:03 2014 +0800
+++ b/jdk/test/javax/management/monitor/StartStopTest.java	Fri Jul 25 15:07:49 2014 +0200
@@ -213,6 +213,6 @@
     }
 
     private static void doSleep(long ms) throws Exception {
-        Thread.sleep(Math.round(ms * Utils.TIMEOUT_FACTOR));
+        Thread.sleep(Utils.adjustTimeout(ms));
     }
 }