From a3233aab3e8e73ca116351f5c1f8807708b21f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Mon, 13 Jan 2020 23:32:03 +0100 Subject: More client test fixes --- .../mimuw/cloudatlas/agent/QuerySignerApiImplementationTest.java | 4 ++++ src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java | 7 ++----- 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 src/test/java/pl/edu/mimuw/cloudatlas/agent/QuerySignerApiImplementationTest.java diff --git a/src/test/java/pl/edu/mimuw/cloudatlas/agent/QuerySignerApiImplementationTest.java b/src/test/java/pl/edu/mimuw/cloudatlas/agent/QuerySignerApiImplementationTest.java new file mode 100644 index 0000000..e99cccb --- /dev/null +++ b/src/test/java/pl/edu/mimuw/cloudatlas/agent/QuerySignerApiImplementationTest.java @@ -0,0 +1,4 @@ +package pl.edu.mimuw.cloudatlas.agent; + +public class QuerySignerApiImplementationTest { +} 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 1fde259..67e1f63 100644 --- a/src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java +++ b/src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java @@ -36,12 +36,9 @@ public class ClientTest { @BeforeClass public static void bindApi() throws Exception { registryProcess = Runtime.getRuntime().exec("./scripts/registry"); - Thread.sleep(2000); -// Runtime.getRuntime().exec("./scripts/generate_keys.sh"); + Thread.sleep(5000); agentProcess = Runtime.getRuntime().exec("./gradlew runAgent -Dhostname=localhost -DfreshnessPeriod=10000000"); - Thread.sleep(3000); -// querySignerProcess = Runtime.getRuntime().exec("./gradlew runQuerySigner"); -// Thread.sleep(3000); + Thread.sleep(10000); registry = LocateRegistry.getRegistry("localhost"); api = (Api) registry.lookup("Api"); -- cgit v1.2.3