gansheer commented on PR #6337: URL: https://github.com/apache/camel-k/pull/6337#issuecomment-3426175284
> Thanks for the PR. I think this is the same as we had. The problem with the flakiness is that sometimes you get elements either in position 0 or 1, so it's not reliable. Ideally you need two `assert.Contains` in order to validate the output regardless of the array position. Actually I think it's good according to the doc: https://pkg.go.dev/github.com/stretchr/testify/assert#ElementsMatch -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
