m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/pl
diff options
context:
space:
mode:
authorMagdalena Grodzińska <mag.grodzinska@gmail.com>2020-01-13 23:32:03 +0100
committerMagdalena Grodzińska <mag.grodzinska@gmail.com>2020-01-13 23:32:03 +0100
commita3233aab3e8e73ca116351f5c1f8807708b21f2f (patch)
tree4d12318a3291e8fdd2958b63b64cd6979749b04c /src/test/java/pl
parentfd3015cb569be713e0cea7a3c4fde6c850ec37d7 (diff)
More client test fixes
Diffstat (limited to 'src/test/java/pl')
-rw-r--r--src/test/java/pl/edu/mimuw/cloudatlas/agent/QuerySignerApiImplementationTest.java4
-rw-r--r--src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java7
2 files changed, 6 insertions, 5 deletions
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");