Dumping JVM details for when SslEngineBehaviorTest.checkSslEngineBehaviour fails

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2020-10-26 08:54:00 -05:00
parent 3ec5c340fd
commit 0d03196a52
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ public class SslEngineBehaviorTest
@EnabledOnJre(JRE.JAVA_8)
public void checkSslEngineBehaviour() throws Exception
{
// Try to track down on what VM is causing the failures
System.err.printf("java.vm = %s %s%n", System.getProperty("java.vm.vendor"), System.getProperty("java.runtime.version"));
SSLEngine server = sslCtxFactory.newSSLEngine();
SSLEngine client = sslCtxFactory.newSSLEngine();