]> source.dussan.org Git - sonarqube.git/commitdiff
Why wait for so "long"?
authorDavid Gageot <david@gageot.net>
Thu, 7 May 2015 16:49:17 +0000 (18:49 +0200)
committerDavid Gageot <david@gageot.net>
Thu, 7 May 2015 16:49:17 +0000 (18:49 +0200)
server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java

index d403c0f5e30fdca605228035b77c9289c53cf014..ac045982ef77dbbc846a11cf74a64d7ce2bb7689 100644 (file)
@@ -31,7 +31,7 @@ public class StopWatcherTest {
     when(commands.askedForStop()).thenReturn(false).thenReturn(true);
     Stoppable stoppable = mock(Stoppable.class);
 
-    StopWatcher watcher = new StopWatcher(commands, stoppable, 10L);
+    StopWatcher watcher = new StopWatcher(commands, stoppable, 1L);
     watcher.start();
     watcher.join();