From fd3015cb569be713e0cea7a3c4fde6c850ec37d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Mon, 13 Jan 2020 22:57:47 +0100 Subject: Fix client tests more xd --- src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java | 7 +++---- 1 file 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"); -- cgit v1.2.3