Open
Description
The test fails intermittently:
> Task :swirlds-merkledb:timingSensitive
com.swirlds.merkledb.MerkleDbDataSourceTest > preservesInterruptStatusWhenInterruptedClosing()
org.opentest4j.AssertionFailedError
at app//com.swirlds.merkledb.MerkleDbDataSourceTest.createAndApplyDataSource(MerkleDbDataSourceTest.java:786)
Caused by: org.opentest4j.AssertionFailedError: Thread interrupt status should NOT be cleared (two total interrupts) ==> expected: <2> but was: <3>
at app//com.swirlds.merkledb.MerkleDbDataSourceTest.lambda$preservesInterruptStatusWhenInterruptedClosing$48(MerkleDbDataSourceTest.java:558)
If it's changed from "Test" to "RepeatedTest(10)", the very first run fails, and then all subsequent runs are successful.
Activity