luwak icon indicating copy to clipboard operation
luwak copied to clipboard

Fix brittle test testParallelSlowLog()

Open aditya-kumbhar opened this issue 2 years ago • 0 comments

Fixes #192 The test ConcurrentMatcherTestBase.testParallelSlowLog() fails when run on its own but passes if it is run along with the other tests in the class. The test passes independently when this change is made - calling getSlowLog() directly on monitor.match(batch, factory) without using the Matches<QueryMatch> matches object.

Open to discuss other approaches to fix this test so that it can pass when run on its own.

Command used to run the test: mvn test -Dtest=uk.co.flax.luwak.matchers.TestParallelMatcher#testParallelSlowLog -DfailIfNoTests=false

aditya-kumbhar avatar Dec 01 '22 21:12 aditya-kumbhar