This is an automated email from the ASF dual-hosted git repository. pascalschumacher pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new e79865a camel-reactive-streams: simplify assertion in DirectClientAPITest e79865a is described below commit e79865a721f1453aff073a8f00edeeffc8850339 Author: Pascal Schumacher <pascalschumac...@gmx.net> AuthorDate: Wed Oct 3 11:26:29 2018 +0200 camel-reactive-streams: simplify assertion in DirectClientAPITest --- .../apache/camel/component/reactive/streams/DirectClientAPITest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/camel-reactive-streams/src/test/java/org/apache/camel/component/reactive/streams/DirectClientAPITest.java b/components/camel-reactive-streams/src/test/java/org/apache/camel/component/reactive/streams/DirectClientAPITest.java index e82d5c2..d53dcc3 100644 --- a/components/camel-reactive-streams/src/test/java/org/apache/camel/component/reactive/streams/DirectClientAPITest.java +++ b/components/camel-reactive-streams/src/test/java/org/apache/camel/component/reactive/streams/DirectClientAPITest.java @@ -16,7 +16,6 @@ */ package org.apache.camel.component.reactive.streams; -import java.util.Arrays; import java.util.HashSet; import java.util.Set; import java.util.concurrent.BlockingQueue; @@ -153,8 +152,8 @@ public class DirectClientAPITest extends ReactiveStreamsTestSupport { res.add(queue.poll(1, TimeUnit.SECONDS)); res.add(queue.poll(1, TimeUnit.SECONDS)); res.add(queue.poll(1, TimeUnit.SECONDS)); - - Assertions.assertThat(res).containsExactlyInAnyOrderElementsOf(Arrays.asList("Hello 1", "Hello 2", "Hello 3")); + + Assertions.assertThat(res).containsExactlyInAnyOrder("Hello 1", "Hello 2", "Hello 3"); } @Test