m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/pl/edu
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/pl/edu')
-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");