merlimat opened a new pull request #12540:
URL: https://github.com/apache/pulsar/pull/12540
### Motivation
A recently added test has been failing on and off based on a cache
invalidation race condition:
```
Error:
testSharedInstance(org.apache.pulsar.metadata.LocalMemoryMetadataStoreTest)
Time elapsed: 0.104 s <<< FAILURE!
java.lang.AssertionError: expected [false] but found [true]
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertFalse(Assert.java:67)
at org.testng.Assert.assertFalse(Assert.java:77)
at
org.apache.pulsar.metadata.LocalMemoryMetadataStoreTest.testSharedInstance(LocalMemoryMetadataStoreTest.java:87)
```
Although it will not be immediate, eventually, the assertion will be true.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]