diff options
author | Magdalena GrodziĆska <mag.grodzinska@gmail.com> | 2020-01-12 15:27:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-12 15:27:11 +0100 |
commit | d88caa2d3fdb3cc5d17a4367583e8ab385ead3b6 (patch) | |
tree | 85cccc543ba5531f88f0d9c2216dbd9136ae2ab6 /src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentIntegrationTest.java | |
parent | f2841b8bfe142a2d6643cfe9bb9aca99cb8f6d23 (diff) | |
parent | 7e079f18eb919c0c64b40321e2860420f866a60a (diff) |
Merge pull request #111 from m-chrzan/optimize_tests_lol
Reduce sleeps
Diffstat (limited to 'src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentIntegrationTest.java')
-rw-r--r-- | src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentIntegrationTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentIntegrationTest.java b/src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentIntegrationTest.java index e2c12d6..9028026 100644 --- a/src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentIntegrationTest.java +++ b/src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentIntegrationTest.java @@ -48,9 +48,9 @@ public class AgentIntegrationTest { @BeforeClass public static void bindApi() throws Exception { registryProcess = Runtime.getRuntime().exec("./scripts/registry"); - Thread.sleep(10000); + Thread.sleep(5000); agentProcess = Runtime.getRuntime().exec("./gradlew runAgent -Dhostname=localhost -DfreshnessPeriod=10000000 -DqueryPeriod=100"); - Thread.sleep(10000); + Thread.sleep(5000); registry = LocateRegistry.getRegistry("localhost"); api = (Api) registry.lookup("Api"); |