Modify ↓
#16590 closed defect (fixed)
Troubleshoot DownloadWmsAlongTrackActionTest.testTMSLayer failure
Reported by: | Don-vip | Owned by: | ris |
---|---|---|---|
Priority: | normal | Milestone: | 18.08 |
Component: | Unit tests | Version: | |
Keywords: | Cc: | wiktorn |
Description
Follow-up of #16010.
Test DownloadWmsAlongTrackActionTest.testTMSLayer fails on Jenkins since r14052:
org.awaitility.core.ConditionTimeoutException: Condition with org.openstreetmap.josm.gui.layer.gpx.DownloadWmsAlongTrackActionTest was not fulfilled within 10000 milliseconds. at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:145) at org.awaitility.core.CallableCondition.await(CallableCondition.java:79) at org.awaitility.core.CallableCondition.await(CallableCondition.java:27) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:902) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:860) at org.openstreetmap.josm.gui.layer.gpx.DownloadWmsAlongTrackActionTest.testTMSLayer(DownloadWmsAlongTrackActionTest.java:62) at org.openstreetmap.josm.testutils.JOSMTestRules$TimeoutThread.run(JOSMTestRules.java:689)
Until this is fixed, the test needs to be disabled to silence Jenkins notifications.
Attachments (3)
Change History (15)
comment:1 Changed 4 years ago by
comment:2 Changed 4 years ago by
I've narrowed this down - this fails when the test is run preceded by both org.openstreetmap.josm.actions.AddImageryLayerActionTest
and org.openstreetmap.josm.actions.ExitActionTest
.
comment:4 Changed 4 years ago by
Ah, duh, MainApplication.shutdown()
also shuts down JCSCacheManager
. Will mock that out.
Changed 4 years ago by
Attachment: | v1-0001-ExitActionTest-mock-out-JCSCacheManager.shutdown-.patch added |
---|
Changed 4 years ago by
Attachment: | v1-0002-DownloadWmsAlongTrackActionTest-re-enable.patch added |
---|
Changed 4 years ago by
Attachment: | v1-0001-Main.shutdown-actually-remove-isHeadless-guards-a.patch added |
---|
Note: See
TracTickets for help on using
tickets.
In 14116/josm: