Skip to content

Apache Lucene open-source search software

SOLR-14271: Delete CollectionsAPIAsyncDistributedZkTest.testAsyncIdBackCompat as that is no longer required (#1275)

Anshum Guptabc41f25cc9f9
diff --git a/solr/core/src/test/org/apache/solr/cloud/api/collections/CollectionsAPIAsyncDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/api/collections/CollectionsAPIAsyncDistributedZkTest.java
index 953fad051c3..91feb8b8cac 100644
--- a/solr/core/src/test/org/apache/solr/cloud/api/collections/CollectionsAPIAsyncDistributedZkTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/api/collections/CollectionsAPIAsyncDistributedZkTest.java
@@ -278,17 +278,4 @@ public class CollectionsAPIAsyncDistributedZkTest extends SolrCloudTestCase {
}
}
}
-
- public void testAsyncIdBackCompat() throws Exception {
- //remove with Solr 9
- cluster.getZkClient().makePath("/overseer/collection-map-completed/mn-testAsyncIdBackCompat", true, true);
- try {
- CollectionAdminRequest.createCollection("testAsyncIdBackCompat","conf1",1,1)
- .processAsync("testAsyncIdBackCompat", cluster.getSolrClient());
- fail("Expecting exception");
- } catch (SolrServerException e) {
- assertTrue(e.getMessage().contains("Task with the same requestid already exists"));
- }
- }
-
}