summaryrefslogtreecommitdiffstats
path: root/server/sonar-server
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-server')
-rw-r--r--server/sonar-server/src/test/java/org/sonar/ce/settings/ComputeEngineSettingsTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/ce/settings/ComputeEngineSettingsTest.java b/server/sonar-server/src/test/java/org/sonar/ce/settings/ComputeEngineSettingsTest.java
index 0e60ba6bcc4..c7e26651285 100644
--- a/server/sonar-server/src/test/java/org/sonar/ce/settings/ComputeEngineSettingsTest.java
+++ b/server/sonar-server/src/test/java/org/sonar/ce/settings/ComputeEngineSettingsTest.java
@@ -37,7 +37,7 @@ import org.sonar.db.DbClient;
import org.sonar.db.property.PropertiesDao;
import org.sonar.db.property.PropertyDto;
-import static java.util.concurrent.TimeUnit.MILLISECONDS;
+import static java.util.concurrent.TimeUnit.SECONDS;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.entry;
import static org.mockito.Mockito.mock;
@@ -303,7 +303,7 @@ public class ComputeEngineSettingsTest {
public void blockingExecute() throws InterruptedException {
this.start();
- this.latch.await(100, MILLISECONDS);
+ this.latch.await(5, SECONDS);
}
@Override