changeset 252:fadb4c21e3c8

Runners: randomize test order.
author shade
date Fri, 13 May 2016 20:18:55 +0300
parents 83cda6745a5a
children 8ad4e15435b4
files jcstress-core/src/main/java/org/openjdk/jcstress/JCStress.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jcstress-core/src/main/java/org/openjdk/jcstress/JCStress.java	Fri May 13 20:13:03 2016 +0300
+++ b/jcstress-core/src/main/java/org/openjdk/jcstress/JCStress.java	Fri May 13 20:18:55 2016 +0300
@@ -180,6 +180,10 @@
                 configs.add(new TestConfig(opts, info, mode, -1, Collections.emptyList()));
             }
         }
+
+        // Randomize the testing order
+        Collections.shuffle(configs);
+
         return configs;
     }