diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-04-06 16:12:06 +0200 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-04-06 16:12:06 +0200 |
commit | 06db9c31a773ce1b7bf31745c694590dde9d10c4 (patch) | |
tree | eafae8a6a77cb8880c90226005b0b70bd001907b | |
parent | 53b695838275d30ab0da26a54bcac93b5577f3fe (diff) | |
download | sonarqube-06db9c31a773ce1b7bf31745c694590dde9d10c4.tar.gz sonarqube-06db9c31a773ce1b7bf31745c694590dde9d10c4.zip |
SONAR-6732 stabilize ComputeEngineSettingsTest
be less optimistic on speed of build, wait longer for concurrent thread
-rw-r--r-- | server/sonar-server/src/test/java/org/sonar/ce/settings/ComputeEngineSettingsTest.java | 4 |
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 |