test/jdk/java/util/concurrent/tck/ScheduledExecutorTest.java
changeset 52730 345266000aba
parent 48541 946e34c2dec9
child 58138 1e4270f875ee
--- a/test/jdk/java/util/concurrent/tck/ScheduledExecutorTest.java	Wed Nov 28 15:25:14 2018 -0800
+++ b/test/jdk/java/util/concurrent/tck/ScheduledExecutorTest.java	Wed Nov 28 15:25:14 2018 -0800
@@ -634,7 +634,7 @@
         final ScheduledThreadPoolExecutor p = new ScheduledThreadPoolExecutor(1);
         try (PoolCleaner cleaner = cleaner(p, releaser)) {
             for (int i = 0; i < tasks.length; i++)
-                tasks[i] = p.schedule(new SmallPossiblyInterruptedRunnable(),
+                tasks[i] = p.schedule(possiblyInterruptedRunnable(SMALL_DELAY_MS),
                                       LONG_DELAY_MS, MILLISECONDS);
             int max = tasks.length;
             if (tasks[4].cancel(true)) --max;