diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-07-09 18:05:17 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-07-09 18:05:17 +0200 |
commit | 3196b6cc018e30605c7dc9b9d384c5e14b5ee46a (patch) | |
tree | 9b23d25e300c79fd0ad11c387698d25397547940 /java | |
parent | Fixed dispatcher test failure, fixes #167 (diff) | |
download | ice-3196b6cc018e30605c7dc9b9d384c5e14b5ee46a.tar.bz2 ice-3196b6cc018e30605c7dc9b9d384c5e14b5ee46a.tar.xz ice-3196b6cc018e30605c7dc9b9d384c5e14b5ee46a.zip |
IceSSL fixes for RHEL8
Diffstat (limited to 'java')
-rw-r--r-- | java/test/src/main/java/test/IceSSL/configuration/AllTests.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/java/test/src/main/java/test/IceSSL/configuration/AllTests.java b/java/test/src/main/java/test/IceSSL/configuration/AllTests.java index 95cb082b04c..1f978a03e7d 100644 --- a/java/test/src/main/java/test/IceSSL/configuration/AllTests.java +++ b/java/test/src/main/java/test/IceSSL/configuration/AllTests.java @@ -1509,6 +1509,10 @@ public class AllTests (com.zeroc.IceSSL.ConnectionInfo)server.ice_getConnection().getInfo(); test(info.cipher.toLowerCase().contains("dss")); } + catch(com.zeroc.Ice.ConnectionLostException ex) + { + // Expected on systems that disable DSA + } catch(com.zeroc.Ice.LocalException ex) { ex.printStackTrace(); @@ -2250,7 +2254,7 @@ public class AllTests initData.properties.setProperty("IceSSL.VerifyDepthMax", "4"); initData.properties.setProperty("Ice.Override.Timeout", "5000"); // 5s timeout com.zeroc.Ice.Communicator comm = Util.initialize(initData); - com.zeroc.Ice.ObjectPrx p = comm.stringToProxy("dummy:wss -h demo.zeroc.com -p 5064"); + com.zeroc.Ice.ObjectPrx p = comm.stringToProxy("dummy:wss -p 443 -h zeroc.com -r /demo-proxy/chat/glacier2"); while(true) { try @@ -2298,7 +2302,7 @@ public class AllTests initData.properties.setProperty("Ice.Override.Timeout", "5000"); // 5s timeout initData.properties.setProperty("IceSSL.UsePlatformCAs", "1"); comm = Util.initialize(initData); - p = comm.stringToProxy("dummy:wss -h demo.zeroc.com -p 5064"); + p = comm.stringToProxy("dummy:wss -p 443 -h zeroc.com -r /demo-proxy/chat/glacier2"); while(true) { try |