From b470fece0c52efc001d77bd03605529cd0478349 Mon Sep 17 00:00:00 2001 From: iamsanjay Date: Fri, 28 Feb 2025 12:14:49 +0530 Subject: [PATCH] Mention JIRA Id in test --- .../org/apache/solr/security/BasicAuthIntegrationTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 bc4cb141a86..b9652574f50 100644 --- a/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java +++ b/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java @@ -382,7 +382,8 @@ public void testBasicAuth() throws Exception { .process(cluster.getSolrClient()); cluster.waitForActiveCollection("c123", 3, 3); - // Configure placement plugin + // SOLR-17644 + // Test Collection creation when replica placement plugin and basic auth are enabled PluginMeta plugin = new PluginMeta(); plugin.name = PlacementPluginFactory.PLUGIN_NAME; plugin.klass = MinimizeCoresPlacementFactory.class.getName(); @@ -395,12 +396,10 @@ public void testBasicAuth() throws Exception { v2Request.setBasicAuthCredentials("harry", "HarryIsUberCool"); v2Request.process(cluster.getSolrClient()); - // Now this will fail with a 401 !! CollectionAdminRequest.createCollection("c456", "conf", 3, 1) .setBasicAuthCredentials("harry", "HarryIsUberCool") .process(cluster.getSolrClient()); cluster.waitForActiveCollection("c456", 3, 3); - /// ///////// executeCommand( baseUrl + authcPrefix,