fixed bundle name for mongo driver in com.sap.sailing.feature's feature.xml

This commit is contained in:
Axel Uhl
2015-03-30 16:30:38 +02:00
parent ae53d23cc1
commit c74a309266
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ Computes leaderboard information for sailing races and offers RESTful APIs to al
<import plugin="com.googlecode.java-diff-utils" version="1.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.osgi" version="3.10.1" match="greaterOrEqual"/>
<import plugin="javax.servlet" version="3.1.0" match="greaterOrEqual"/>
<import plugin="com.mongodb.driver" version="2.13.0" match="greaterOrEqual"/>
<import plugin="org.mongodb.mongo-java-driver" version="2.13.0" match="greaterOrEqual"/>
<import plugin="com.google.gwt.osgi" version="2.7.0" match="greaterOrEqual"/>
<import plugin="org.json.simple" version="1.1.0" match="greaterOrEqual"/>
<import plugin="org.moxieapps.gwt.highcharts" version="1.6.0" match="greaterOrEqual"/>
@@ -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...");
}
/**
@@ -215,6 +222,11 @@ public abstract class AbstractServerReplicationTestSetUp<ReplicableInterface ext
ReplicationMasterDescriptor getMasterDescriptor() {
return masterDescriptor;
}
@Override
public ReplicationReceiver getReplicator() {
return super.getReplicator();
}
private Thread startInitialLoadTransmissionServlet() throws InterruptedException {
final boolean[] listening = new boolean[] { false };