changeset 314:b0c5e26af669

Generators: termination tests should wait for iteration time, not hardcoded interval.
author shade
date Wed, 10 Aug 2016 23:52:33 +0300
parents dffc5e0cabcf
children 1558a1741344
files jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java	Mon Aug 08 10:26:41 2016 +0300
+++ b/jcstress-core/src/main/java/org/openjdk/jcstress/infra/processors/JCStressTestProcessor.java	Wed Aug 10 23:52:33 2016 +0300
@@ -762,7 +762,7 @@
         pw.println("            }");
         pw.println();
         pw.println("            try {");
-        pw.println("                t1.join(1000);");
+        pw.println("                t1.join(config.time);");
         pw.println("            } catch (InterruptedException e) {");
         pw.println("                // do nothing");
         pw.println("            }");