mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-17 11:19:15 +00:00
bug6236: increased test timeout a bit for slower test execution/MongoDB environments
This commit is contained in:
+2
-2
@@ -39,7 +39,7 @@ public class GPSFixStoreListenerTest extends AbstractGPSFixStoreTest {
|
||||
Thread thread = new Thread() {
|
||||
public void run() {
|
||||
try {
|
||||
barrier.await(100, TimeUnit.MILLISECONDS);
|
||||
barrier.await(1000, TimeUnit.MILLISECONDS);
|
||||
// During iteration in the main thread this causes a modification that makes the iterator throw a
|
||||
// ConcurrentModificationException on next()
|
||||
store.addListener((DeviceIdentifier device, Iterable<GPSFixMoving> fixes, boolean returnManeuverChanges, boolean returnLiveDelay) -> {
|
||||
@@ -73,7 +73,7 @@ public class GPSFixStoreListenerTest extends AbstractGPSFixStoreTest {
|
||||
@Override
|
||||
public Iterable<Triple<RegattaAndRaceIdentifier, Boolean, Duration>> fixesReceived(DeviceIdentifier device, Iterable<GPSFixMoving> fixes, boolean returnManeuverChanges, boolean returnLiveDelay) {
|
||||
try {
|
||||
barrier.await(100, TimeUnit.MILLISECONDS);
|
||||
barrier.await(1000, TimeUnit.MILLISECONDS);
|
||||
} catch (TimeoutException e) {
|
||||
throw new TimoutRuntimeException(e);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user