Support Java 14 (#3310)
* Support Java 14 * Provide changes to avoid deprecated Java API and have a compatibility back to Java 8 * Change affected test classes to JUnit 5 whenever it is possible * Ignore/Disable some TCP/IP tests which don't pass on Java 14 * Fix (some) TCP tests on JRE 14 * Fix SSL Handshake test - client side handshake is successful with java 14 - change the badClient cert to a badServer cert to force an error on the client side Co-authored-by: artembilan <raven666> Co-authored-by: Gary Russell <grussell@pivotal.io>
This commit is contained in:
@@ -115,7 +115,7 @@ public class DefaultAmqpHeaderMapperTests {
|
||||
assertThat(amqpProperties.getDeliveryMode()).isEqualTo(MessageDeliveryMode.NON_PERSISTENT);
|
||||
assertThat(amqpProperties.getDeliveryTag()).isEqualTo(1234L);
|
||||
assertThat(amqpProperties.getExpiration()).isEqualTo("test.expiration");
|
||||
assertThat(amqpProperties.getMessageCount()).isEqualTo(new Integer(42));
|
||||
assertThat(amqpProperties.getMessageCount()).isEqualTo(42);
|
||||
assertThat(amqpProperties.getMessageId()).isEqualTo("test.messageId");
|
||||
assertThat(amqpProperties.getReceivedExchange()).isEqualTo("test.receivedExchange");
|
||||
assertThat(amqpProperties.getReceivedRoutingKey()).isEqualTo("test.receivedRoutingKey");
|
||||
|
||||
Reference in New Issue
Block a user