mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-21 03:30:12 +00:00
re-establishing the effects of c74a3092661236b13ff0b667e1f08cc3fac11d22; need to serve the replication service's monitor properly as queue drains
This commit is contained in:
1 parent
943d66a2c5
commit
26a286f243
1 file changed
+7
+7
@@ -179,6 +179,13 @@ public abstract class AbstractServerReplicationTestSetUp<ReplicableInterface ext
|
||||
* original exception propagate */
|
||||
logger.log(Level.SEVERE, "Exception trying to connect to initial load test servlet to STOP it", ex);
|
||||
}
|
||||
synchronized (replicaReplicator.getReplicator()) {
|
||||
while (!replicaReplicator.getReplicator().isQueueEmpty()) {
|
||||
logger.info("Waiting for replication queue to drain...");
|
||||
replicaReplicator.getReplicator().wait();
|
||||
}
|
||||
}
|
||||
logger.info("Replication queue has been drained...");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user