Changeset 18191 in josm


Ignore:
Timestamp:
2021-09-01T23:21:38+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21260 - increase timeout in unit test, seems to cause random failures in CI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/imagery/MVTLayerTest.java

    r18189 r18191  
    9696            this.testLayer.getDisplaySettings().setAutoZoom(false);
    9797            MainApplication.getMap().mapView.paintLayer(this.testLayer, graphics2D);
    98             Awaitility.await().atMost(Durations.ONE_SECOND).until(() -> !this.testLayer.getData().allPrimitives().isEmpty());
     98            Awaitility.await().atMost(Durations.FIVE_SECONDS).until(() -> !this.testLayer.getData().allPrimitives().isEmpty());
    9999            assertFalse(this.testLayer.getData().allPrimitives().isEmpty());
    100100        } finally {
     
    136136                .newInstance(this.testLayer, MVTLayer.getCache(), new TileJobOptions(50, 50, Collections.emptyMap(), 1))
    137137                .createTileLoaderJob(mvtTile).submit();
    138         Awaitility.await().atMost(Durations.ONE_SECOND).until(() -> finishedLoading.finished);
     138        Awaitility.await().atMost(Durations.FIVE_SECONDS).until(() -> finishedLoading.finished);
    139139        assertFalse(this.testLayer.getData().allPrimitives().isEmpty());
    140140    }
Note: See TracChangeset for help on using the changeset viewer.