Changeset 18302 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2021-11-01T23:02:45+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/UploadActionTest.java
r18299 r18302 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.actions; 2 3 … … 9 10 import java.util.concurrent.TimeUnit; 10 11 12 import org.junit.Ignore; 11 13 import org.junit.jupiter.api.Test; 12 14 import org.junit.jupiter.api.extension.RegisterExtension; … … 44 46 */ 45 47 @Test 48 @Ignore("doesn't work on CI") 46 49 void testNonRegression21476() { 47 50 TestUtils.assumeWorkingJMockit(); … … 64 67 assertDoesNotThrow(() -> uploadAction.actionPerformed(null)); 65 68 // Sync threads 66 GuiHelper.runInEDT(() -> {/* sync edt */}); 69 GuiHelper.runInEDT(() -> { 70 // sync edt 71 }); 67 72 try { 68 MainApplication.worker.submit(() -> {/* sync worker */}).get(1, TimeUnit.SECONDS); 73 MainApplication.worker.submit(() -> { 74 // sync worker 75 }).get(1, TimeUnit.SECONDS); 69 76 assertTrue(Logging.getLastErrorAndWarnings().isEmpty()); 70 77 } catch (Exception exception) {
Note:
See TracChangeset
for help on using the changeset viewer.