From 75d76ad2d5c71378d4be5954c990fc43faf923bd Mon Sep 17 00:00:00 2001 From: David Gageot Date: Thu, 7 May 2015 18:49:17 +0200 Subject: [PATCH] Why wait for so "long"? --- .../src/test/java/org/sonar/process/StopWatcherTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5