You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/09/11 07:19:47 UTC

[GitHub] [camel-quarkus] jamesnetherton commented on a change in pull request #1780: Fix intermittent failures of SmallRyeReactiveMessagingIT

jamesnetherton commented on a change in pull request #1780:
URL: https://github.com/apache/camel-quarkus/pull/1780#discussion_r486822324



##########
File path: integration-tests/smallrye-reactive-messaging/src/main/java/org/apache/camel/quarkus/component/smallrye/reactive/messaging/it/SmallRyeReactiveMessagingResource.java
##########
@@ -52,6 +54,8 @@ public Response post(String message) throws Exception {
     @Produces(MediaType.TEXT_PLAIN)
     @GET
     public String getValues() {
-        return String.join(",", results.getResults());
+        List<String> values = results.getResults();
+        Collections.sort(values);

Review comment:
       Yes. The order in which the messages are processed is not important. We just need to verify that all of the expected values are there.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org