madrob commented on a change in pull request #2291:
URL: https://github.com/apache/lucene-solr/pull/2291#discussion_r568852727
##########
File path:
solr/core/src/java/org/apache/solr/cluster/events/impl/DelegatingClusterEventProducer.java
##########
@@ -144,7 +152,25 @@ public synchronized void stop() {
}
@VisibleForTesting
- public int getVersion() {
- return version;
+ public int waitForVersionChange(int currentVersion, int timeoutSec) throws
InterruptedException, TimeoutException {
Review comment:
It should really go in a third place I think, because then we can reuse
the versioning logic between this and
DelegatingPlacementPluginFactory/IntegrationTest
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]