Possible race condition: ReaderTest.testReadMessageWithBatchingWithMessageInclusive:148 expected [true] but found [false]
See original GitHub issueDescribe the bug
I’m able to reproduce this issue locally but not consistently. It doesn’t seem to behave like the other flaky tests that occur only in Github CI due to timeouts.
I think there might be a race condition because reader.hasMessageAvailable()
is evaluating to false when it should be true.
To Reproduce Run the test several times.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
java.lang.AssertionError: expected [true] but found [false]
You are comparing the value with webElement here. Assert.assertTrue(manageid.equals("Manger Id : mngr79426"));. Need to compare with text.
Read more >Re: [testng-users] Assert.assertTrue(condition, message) do ...
I am tested the Assert.AssertTrue(condition,message) in Testng 6.8 beta, still it is not return message when the condition is false. I am tested...
Read more >failure java.lang.AssertionError: expected [true] but found [false]
This bug seems to happen in HS24, as well. Any interest in backporting this to 7u? The backport is trivial (and I've locally...
Read more >Assertions In Selenium Using Junit And TestNG Frameworks
expected [Welcome to Amazon] but found [Amazon.com: Online Shopping for ... assert false method asserts that a specified condition is false.
Read more >java.lang.AssertionError: expected [true] but found [false]
java/util/Arrays/ArraysEqCmpTest.java fails ArraysEqCmpTest.testPrimitiveFloatArray: java.lang.AssertionError: expected [true] but found [false].
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I created a repro for an issue that is flaky, but fails in most cases. This happens on Pulsar 2.5.0, but not on Pulsar 2.4.2. . The description and repro instructions are at #6333
@nodece Could you please help check if this one is related to https://github.com/apache/pulsar/pull/15568