diff options
author | Bernard Normier <bernard@zeroc.com> | 2017-06-16 15:49:38 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2017-06-16 15:49:38 -0400 |
commit | 4dcf83773410c25dacc05f916b2d749d5ed6e6f6 (patch) | |
tree | fb0f3aeef45742dfb00e00b4be7dd04276884f10 /java | |
parent | Fix (ICE-8063) - Warnings in strech builds (diff) | |
download | ice-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.java | 5 |
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; |