diff options
author | Magdalena Grodzińska <mag.grodzinska@gmail.com> | 2020-01-13 22:57:47 +0100 |
---|---|---|
committer | Magdalena Grodzińska <mag.grodzinska@gmail.com> | 2020-01-13 22:59:11 +0100 |
commit | fd3015cb569be713e0cea7a3c4fde6c850ec37d7 (patch) | |
tree | ef279da30dcc99abbdbdaca581dd7a988978daf1 /src/test/java/pl/edu | |
parent | 27b84d48029e90d816653e2b718aa8f629094611 (diff) |
Fix client tests more xd
Diffstat (limited to 'src/test/java/pl/edu')
-rw-r--r-- | src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java b/src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java index 56a4824..1fde259 100644 --- a/src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java +++ b/src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java @@ -30,7 +30,6 @@ public class ClientTest { private static Process registryProcess; private static Process agentProcess; private static Process querySignerProcess; - private static Registry registry; private static Api api; @@ -38,11 +37,11 @@ public class ClientTest { public static void bindApi() throws Exception { registryProcess = Runtime.getRuntime().exec("./scripts/registry"); Thread.sleep(2000); - registryProcess = Runtime.getRuntime().exec("./scripts/generate_keys.sh"); +// Runtime.getRuntime().exec("./scripts/generate_keys.sh"); agentProcess = Runtime.getRuntime().exec("./gradlew runAgent -Dhostname=localhost -DfreshnessPeriod=10000000"); Thread.sleep(3000); - querySignerProcess = Runtime.getRuntime().exec("./gradlew runQuerySigner"); - Thread.sleep(3000); +// querySignerProcess = Runtime.getRuntime().exec("./gradlew runQuerySigner"); +// Thread.sleep(3000); registry = LocateRegistry.getRegistry("localhost"); api = (Api) registry.lookup("Api"); |