Index: /trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportTest.java
===================================================================
--- /trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportTest.java	(revision 18668)
+++ /trunk/test/unit/org/openstreetmap/josm/tools/bugreport/BugReportTest.java	(revision 18669)
@@ -137,6 +137,8 @@
                         })),
                 Arguments.of("GuiHelper::runInEDTAndWait", (Consumer<Runnable>) GuiHelper::runInEDTAndWait),
-                Arguments.of("MainApplication.worker", (Consumer<Runnable>) runnable ->
-                        assertDoesNotThrow(() -> MainApplication.worker.submit(runnable).get(1, TimeUnit.SECONDS)))
+                Arguments.of("MainApplication.worker", (Consumer<Runnable>) runnable -> {
+                    MainApplication.worker.execute(runnable);
+                    assertDoesNotThrow(() -> MainApplication.worker.submit(() -> { /* Sync thread */}).get(1, TimeUnit.SECONDS));
+                })
         );
     }
@@ -154,6 +156,4 @@
             Logging.trace(e);
         }
-        // Ensure that the threads are synced
-        assertDoesNotThrow(() -> worker.accept(() -> { /* sync */ }));
         // Now throw an exception
         BugReport bugReport = new BugReport(BugReport.intercept(new IOException("testSuppressedExceptions")));
