Skip to content

Commit

Permalink
Fix RedisQueueMessageDrEndpointTests for Java 14
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Jun 24, 2020
1 parent 6a3bea5 commit 5d7f0d2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -195,7 +195,7 @@ public void testInt3014ExpectMessageTrue() throws InterruptedException {
assertThat(((Exception) receive.getPayload()).getMessage()).contains("Deserialization of Message failed.");
assertThat(((Exception) receive.getPayload()).getCause()).isInstanceOf(ClassCastException.class);
assertThat(((Exception) receive.getPayload()).getCause().getMessage())
.contains("java.lang.String cannot be cast to org.springframework.messaging.Message");
.contains("java.lang.String cannot be cast");

CountDownLatch stopLatch = new CountDownLatch(1);
endpoint.stop(stopLatch::countDown);
Expand Down

0 comments on commit 5d7f0d2

Please sign in to comment.