question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Possible race condition: ReaderTest.testReadMessageWithBatchingWithMessageInclusive:148 expected [true] but found [false]

See original GitHub issue

Describe 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:open
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
lhotaricommented, Feb 15, 2020

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

0reactions
codelipenghuicommented, Aug 8, 2022

@nodece Could you please help check if this one is related to https://github.com/apache/pulsar/pull/15568

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found