[TEST] Provide random instance to rarely(Random) instead of using the threadlocal one

This commit is contained in:
Simon Willnauer 2015-05-22 13:48:02 +02:00
parent 08e87bd81e
commit 4e1fa3c3b4
1 changed files with 1 additions and 1 deletions

View File

@ -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));