bug6236: increased test timeout a bit for slower test execution/MongoDB environments

This commit is contained in:
Axel Uhl
2026-04-14 23:51:29 +02:00
parent 8ffbcf46b0
commit bb01fd90b6
@@ -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) {