increased timeout for waiting for TracTrac tracked race from 30s to 60s (again)

This commit is contained in:
Axel Uhl committed 2012-07-11 15:30:51 +02:00
1 parent 89806485af
commit 4ac4e4ec92
2 files changed
+3 -3

No files matched your search

@@ -33,11 +33,11 @@ import com.sap.sailing.domain.common.RegattaAndRaceIdentifier;
*/
public interface RaceTracker {
/**
* By default, wait half a minute for race data; sometimes, a tracking provider's server may be under heavy load and
* By default, wait one minute for race data; sometimes, a tracking provider's server may be under heavy load and
* may serve races one after another. If many races are requested concurrently, this can lead to a queue
* of several minutes length.
*/
static long TIMEOUT_FOR_RECEIVING_RACE_DEFINITION_IN_MILLISECONDS = 30000;
static long TIMEOUT_FOR_RECEIVING_RACE_DEFINITION_IN_MILLISECONDS = 60000;
/**
* Stops tracking the races.
@@ -73,7 +73,7 @@ public class TrackRaceReplicationTest extends AbstractServerReplicationTest {
}
});
trackingParams = com.sap.sailing.domain.tractracadapter.DomainFactory.INSTANCE.createTrackingConnectivityParameters(paramURL,
liveURI, storedURI, startOfTracking, endOfTracking, /* delayToLiveInMillis */
liveURI, storedURI, startOfTracking, endOfTracking, /* delayToLiveInMillis */
0l, /* simulateWithStartTimeNow */false, EmptyWindStore.INSTANCE);
}