janhoy opened a new pull request, #4702: URL: https://github.com/apache/solr/pull/4702
The test spun up **4 Jetty nodes** (1 control + 3 cloud, `sliceCount=2`/`fixShardCount(3)`) via the legacy `AbstractFullDistribZkTestBase`, plus a control collection — yet only ever creates and inspects a **1-shard/1-replica** collection. Rewritten on `SolrCloudTestCase` with a single node, using the `cloud-managed` configset (`ManagedIndexSchemaFactory`, which is what registers `ZkIndexSchemaReader` as an `OnReconnect` listener — the behavior under test). All assertions are preserved: * `ZkIndexSchemaReader` registered as an `OnReconnect` listener for the core * after collection RELOAD, the old core's listener is unregistered and the new core's is registered * after collection DELETE, the listener is unregistered (now with an explicit wait instead of a one-shot check) Measured locally: suite time drops from **~14s to ~3s** (test method 13.6s → 0.7s). Also one fewer test on the legacy `AbstractFullDistribZkTestBase`. Test-only change, no changelog entry. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
