Description
Here's a basic use case that fails on 8x because the basic auth credentials supplied on the Create request do not propagate to the RequestStatus and DeleteStatus objects used internally for the waitFor:
@Test public void testCreateCollAsync() throws Exception { CollectionAdminRequest.Create create = CollectionAdminRequest.createCollection(collectionName, "conf", 1, 2, 0, 0); create.setMaxShardsPerNode(2); withBasicAuth(create).processAndWait(cluster.getSolrClient(), 5); waitForState("Expected collection to be created with 1 shard and " + 2 + " replicas", collectionName, clusterShape(1, 2)); DocCollection docCollection = assertNumberOfReplicas(collectionName, 2, 0, 0, false, true); ... }