summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2017-06-16 15:49:38 -0400
committerBernard Normier <bernard@zeroc.com>2017-06-16 15:49:38 -0400
commit4dcf83773410c25dacc05f916b2d749d5ed6e6f6 (patch)
treefb0f3aeef45742dfb00e00b4be7dd04276884f10 /java
parentFix (ICE-8063) - Warnings in strech builds (diff)
downloadice-4dcf83773410c25dacc05f916b2d749d5ed6e6f6.tar.bz2
ice-4dcf83773410c25dacc05f916b2d749d5ed6e6f6.tar.xz
ice-4dcf83773410c25dacc05f916b2d749d5ed6e6f6.zip
Fix for very slow VMs (ICE-8080)
Diffstat (limited to 'java')
-rw-r--r--java/test/src/main/java/test/Ice/interrupt/AllTests.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/java/test/src/main/java/test/Ice/interrupt/AllTests.java b/java/test/src/main/java/test/Ice/interrupt/AllTests.java
index 5f6b90b5bb6..7ed9f35c58b 100644
--- a/java/test/src/main/java/test/Ice/interrupt/AllTests.java
+++ b/java/test/src/main/java/test/Ice/interrupt/AllTests.java
@@ -260,6 +260,9 @@ public class AllTests
// This section of the test doesn't run when collocated.
if(p.ice_getConnection() != null)
{
+
+ testController.holdAdapter();
+
//
// Test interrupt of waitForSent. Here hold the adapter and send a large payload. The
// thread is interrupted in 500ms which should result in a operation interrupted exception.
@@ -276,7 +279,7 @@ public class AllTests
}
mainThread.interrupt();
});
- testController.holdAdapter();
+
CompletableFuture<Void> r = null;
InvocationFuture<Void> f = null;