diff options
author | David Gageot <david@gageot.net> | 2015-05-07 18:49:17 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-05-07 18:49:17 +0200 |
commit | 75d76ad2d5c71378d4be5954c990fc43faf923bd (patch) | |
tree | a893afb688402a87a8dfb7cc1b60334685d0864a /server | |
parent | 0858c3827dead29a8c0d7cceb3e5cae525b29264 (diff) | |
download | sonarqube-75d76ad2d5c71378d4be5954c990fc43faf923bd.tar.gz sonarqube-75d76ad2d5c71378d4be5954c990fc43faf923bd.zip |
Why wait for so "long"?
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java b/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java index d403c0f5e30..ac045982ef7 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java +++ b/server/sonar-process/src/test/java/org/sonar/process/StopWatcherTest.java @@ -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(); |