randomize v1 and v2

This commit is contained in:
Noble Paul 2017-06-13 19:23:38 +09:30
parent 833a6f3ffb
commit 6d97305c63
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class TestReqParamsAPI extends SolrCloudTestCase {
private void setupHarnesses() {
for (final JettySolrRunner jettySolrRunner : cluster.getJettySolrRunners()) {
RestTestHarness harness = new RestTestHarness(() -> jettySolrRunner.getBaseUrl().toString() + "/" + COLL_NAME);
if (true) {
if (random().nextBoolean()) {
harness.setServerProvider(() -> jettySolrRunner.getBaseUrl().toString() + "/____v2/c/" + COLL_NAME);
}
restTestHarnesses.add(harness);