summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/jvpp-registry/io/fd/jvpp/AbstractCallbackApiTest.java5
-rw-r--r--java/jvpp-registry/io/fd/jvpp/test/ConnectionTest.java2
2 files changed, 1 insertions, 6 deletions
diff --git a/java/jvpp-registry/io/fd/jvpp/AbstractCallbackApiTest.java b/java/jvpp-registry/io/fd/jvpp/AbstractCallbackApiTest.java
index a2e38e1..f2af1eb 100644
--- a/java/jvpp-registry/io/fd/jvpp/AbstractCallbackApiTest.java
+++ b/java/jvpp-registry/io/fd/jvpp/AbstractCallbackApiTest.java
@@ -44,17 +44,14 @@ public abstract class AbstractCallbackApiTest {
});
System.out.println("Successfully connected to VPP");
- Thread.sleep(1000);
System.out.println("Sending control ping using JVppRegistry");
registry.controlPing(jvpp.getClass());
- Thread.sleep(2000);
-
System.out.println("Sending control ping using JVpp plugin");
jvpp.send(new ControlPing());
- Thread.sleep(2000);
+ Thread.sleep(100);
System.out.println("Disconnecting...");
Assertions.assertEquals(2, receivedPingCount);
Assertions.assertEquals(0, errorPingCount);
diff --git a/java/jvpp-registry/io/fd/jvpp/test/ConnectionTest.java b/java/jvpp-registry/io/fd/jvpp/test/ConnectionTest.java
index b982d11..fece285 100644
--- a/java/jvpp-registry/io/fd/jvpp/test/ConnectionTest.java
+++ b/java/jvpp-registry/io/fd/jvpp/test/ConnectionTest.java
@@ -30,9 +30,7 @@ public class ConnectionTest {
final JVppRegistry registry = new JVppRegistryImpl("ConnectionTest");
try {
System.out.println("Successfully connected to vpp");
- Thread.sleep(5000);
System.out.println("Disconnecting...");
- Thread.sleep(1000);
} finally {
registry.close();
}