Changeset 18191 in josm
- Timestamp:
- 2021-09-01T23:21:38+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/layer/imagery/MVTLayerTest.java
r18189 r18191 96 96 this.testLayer.getDisplaySettings().setAutoZoom(false); 97 97 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()); 99 99 assertFalse(this.testLayer.getData().allPrimitives().isEmpty()); 100 100 } finally { … … 136 136 .newInstance(this.testLayer, MVTLayer.getCache(), new TileJobOptions(50, 50, Collections.emptyMap(), 1)) 137 137 .createTileLoaderJob(mvtTile).submit(); 138 Awaitility.await().atMost(Durations. ONE_SECOND).until(() -> finishedLoading.finished);138 Awaitility.await().atMost(Durations.FIVE_SECONDS).until(() -> finishedLoading.finished); 139 139 assertFalse(this.testLayer.getData().allPrimitives().isEmpty()); 140 140 }
Note:
See TracChangeset
for help on using the changeset viewer.