Ignore:
Timestamp:
2021-11-01T23:02:45+01:00 (2 years ago)
Author:
Don-vip
Message:

see #21476 - disable failing test + fix checkstyle violations

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.
    12package org.openstreetmap.josm.actions;
    23
     
    910import java.util.concurrent.TimeUnit;
    1011
     12import org.junit.Ignore;
    1113import org.junit.jupiter.api.Test;
    1214import org.junit.jupiter.api.extension.RegisterExtension;
     
    4446     */
    4547    @Test
     48    @Ignore("doesn't work on CI")
    4649    void testNonRegression21476() {
    4750        TestUtils.assumeWorkingJMockit();
     
    6467        assertDoesNotThrow(() -> uploadAction.actionPerformed(null));
    6568        // Sync threads
    66         GuiHelper.runInEDT(() -> {/* sync edt */});
     69        GuiHelper.runInEDT(() -> {
     70            // sync edt
     71        });
    6772        try {
    68             MainApplication.worker.submit(() -> {/* sync worker */}).get(1, TimeUnit.SECONDS);
     73            MainApplication.worker.submit(() -> {
     74                // sync worker
     75            }).get(1, TimeUnit.SECONDS);
    6976            assertTrue(Logging.getLastErrorAndWarnings().isEmpty());
    7077        } catch (Exception exception) {
Note: See TracChangeset for help on using the changeset viewer.