aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process-monitor
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-process-monitor')
-rw-r--r--server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java b/server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java
index 7734843c3d8..289b371c46c 100644
--- a/server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java
+++ b/server/sonar-process-monitor/src/test/java/org/sonar/process/monitor/MonitorTest.java
@@ -74,7 +74,7 @@ public class MonitorTest {
* Safeguard
*/
@Rule
- public Timeout globalTimeout = new Timeout(30000);
+ public Timeout globalTimeout = Timeout.seconds(30);
/**
* Temporary directory is used to interact with monitored processes, which write in it.