m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/pl/edu/mimuw/cloudatlas/agent
diff options
context:
space:
mode:
authorMartin <marcin.j.chrzanowski@gmail.com>2019-11-27 17:22:13 +0100
committerGitHub <noreply@github.com>2019-11-27 17:22:13 +0100
commit6d27310b2cdbd6f412157eee25cc68df9486db14 (patch)
treeb7ebab7fa715b194509eee9cb6ee4984ba3db840 /src/test/java/pl/edu/mimuw/cloudatlas/agent
parent97589d8380ca12fa0a75163a6f5bd79a7e1039fa (diff)
Parametrize RMI host (#43)
Diffstat (limited to 'src/test/java/pl/edu/mimuw/cloudatlas/agent')
-rw-r--r--src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentIntegrationTest.java2
1 files changed, 1 insertions, 1 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 1d7a2c5..33fb56f 100644
--- a/src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentIntegrationTest.java
+++ b/src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentIntegrationTest.java
@@ -45,7 +45,7 @@ public class AgentIntegrationTest {
public static void bindApi() throws Exception {
registryProcess = Runtime.getRuntime().exec("./scripts/registry");
Thread.sleep(10000);
- agentProcess = Runtime.getRuntime().exec("./gradlew runAgent");
+ agentProcess = Runtime.getRuntime().exec("./gradlew runAgent -Dhostname=localhost");
Thread.sleep(10000);
registry = LocateRegistry.getRegistry("localhost");