[TEST] Provide random instance to rarely(Random) instead of using the threadlocal one
This commit is contained in:
parent
08e87bd81e
commit
4e1fa3c3b4
|
@ -278,7 +278,7 @@ public final class InternalTestCluster extends TestCluster {
|
||||||
builder.put("path.data", dataPath.toString());
|
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.home", baseDir);
|
||||||
builder.put("path.repo", baseDir.resolve("repos"));
|
builder.put("path.repo", baseDir.resolve("repos"));
|
||||||
builder.put("transport.tcp.port", BASE_PORT + "-" + (BASE_PORT+100));
|
builder.put("transport.tcp.port", BASE_PORT + "-" + (BASE_PORT+100));
|
||||||
|
|
Loading…
Reference in New Issue