execute with AZURE_SERVICEBUS_JAVA_CLIENT_TEST_CONNECTION_STRING=xxx bash hotspot.sh
Observed behavior
Output of the two scripts attached:
openj9.txt - repository unit tests using OpenJ9 JVM (failing)
hotspot.txt - repository unit tests using Hotspot JVM (mostly passing)
Environment:
OS: Linux
JVM: OpenJ9
Library Version: PREVIEW-5+
Additional context
If OpenJ9 isn't supported, feel free to ignore. This issue might be with the JVM, instead of the library. It was the first time I've noticed code that doesn't work on both, though.
Describe the bug
When using this library with OpenJ9 JVM instead of Hotspot, it's not connecting and throwing these errors:
com.microsoft.azure.servicebus.primitives.ServiceBusException: Error{condition=amqp:connection:framing-error, description='org.apache.qpid.proton.engine.TransportException: connection aborted', info=null}
To Reproduce
I wrote a script to reproduce. This will:
To use:
openj9.sh
AZURE_SERVICEBUS_JAVA_CLIENT_TEST_CONNECTION_STRING=xxx bash openj9.sh
Expected behavior
Tests should pass. I wrote another script that uses the Hotspot JVM and shows the tests passing. This will:
To use:
hotspot.sh
AZURE_SERVICEBUS_JAVA_CLIENT_TEST_CONNECTION_STRING=xxx bash hotspot.sh
Observed behavior
Output of the two scripts attached:
Environment:
Additional context
If OpenJ9 isn't supported, feel free to ignore. This issue might be with the JVM, instead of the library. It was the first time I've noticed code that doesn't work on both, though.