From 4e1fa3c3b4080f8dc8e65f11900e500a637d52ec Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Fri, 22 May 2015 13:48:02 +0200 Subject: [PATCH] [TEST] Provide random instance to rarely(Random) instead of using the threadlocal one --- src/test/java/org/elasticsearch/test/InternalTestCluster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/test/InternalTestCluster.java b/src/test/java/org/elasticsearch/test/InternalTestCluster.java index 6ca41267e31..0ca7ae60ff6 100644 --- a/src/test/java/org/elasticsearch/test/InternalTestCluster.java +++ b/src/test/java/org/elasticsearch/test/InternalTestCluster.java @@ -278,7 +278,7 @@ public final class InternalTestCluster extends TestCluster { builder.put("path.data", dataPath.toString()); } } - builder.put("bootstrap.sigar", rarely()); + builder.put("bootstrap.sigar", rarely(random)); builder.put("path.home", baseDir); builder.put("path.repo", baseDir.resolve("repos")); builder.put("transport.tcp.port", BASE_PORT + "-" + (BASE_PORT+100));