Re: Sonar complains about no assertion when using Awaitility

2020-03-31 Thread Christian Schneider
Many thanks for the hint. I asked on the forum and they created an issue to support Awaitility: https://jira.sonarsource.com/browse/SONARJAVA-3334 Christian Am Mo., 30. März 2020 um 11:58 Uhr schrieb Robert Munteanu < romb...@apache.org>: > Hi Christian, > > On Mon, 2020-03-30 at 11:38 +0200, C

Re: Sonar complains about no assertion when using Awaitility

2020-03-30 Thread Justin Edelson
On Mon, Mar 30, 2020 at 5:58 AM Robert Munteanu wrote: > Hi Christian, > > On Mon, 2020-03-30 at 11:38 +0200, Christian Schneider wrote: > > In some of our tests we use Awaitility as the expected result will > > happen > > asynchronously. > > The code looks like: > > > > await().until(checker::is

Re: Sonar complains about no assertion when using Awaitility

2020-03-30 Thread Robert Munteanu
Hi Christian, On Mon, 2020-03-30 at 11:38 +0200, Christian Schneider wrote: > 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 com

Sonar complains about no assertion when using Awaitility

2020-03-30 Thread Christian Schneider
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