From 003a346d5005afad20a1766bafbffa18621d9d62 Mon Sep 17 00:00:00 2001 From: Alan Woodward Date: Fri, 9 Sep 2016 09:02:49 +0100 Subject: [PATCH] SOLR-9344: Don't reuse port in BasicAuthIntegrationTest --- .../org/apache/solr/security/BasicAuthIntegrationTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java b/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java index ecfa392ebca..6967b279d44 100644 --- a/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java +++ b/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java @@ -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" +