SOLR-9344: Don't reuse port in BasicAuthIntegrationTest

This commit is contained in:
Alan Woodward 2016-09-09 09:02:49 +01:00
parent 0c5c0df6bc
commit 003a346d50
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ public class BasicAuthIntegrationTest extends SolrCloudTestCase {
verifySecurityStatus(cl, baseUrl + authcPrefix, "authentication/class", "solr.BasicAuthPlugin", 20);
randomJetty.stop();
randomJetty.start();
randomJetty.start(false);
baseUrl = randomJetty.getBaseUrl().toString();
verifySecurityStatus(cl, baseUrl + authcPrefix, "authentication/class", "solr.BasicAuthPlugin", 20);
String command = "{\n" +