In some of our tests we use Awaitility as the expected result will happen
asynchronously.
The code looks like:

await().until(checker::isAvailable);


This actually is like an assertion but sonar then complains that the test
does not assert anything.

Is there a way to let sonar know that using an await is also a good
assertion?

See
https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-distribution-journal&issues=AWvhm55N9kO6n_b9qo1U&open=AWvhm55N9kO6n_b9qo1U


-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com

Reply via email to