SimplexMessagingIntegrationTest.testWriteAndRead assertion error
testWriteAndRead
(in o.bp.b.m.SimplexMessagingIntegrationTest) fails sometimes.
testWriteAndRead
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at org.briarproject.briar.messaging.SimplexMessagingIntegrationTest.testWriteAndRead(SimplexMessagingIntegrationTest.java:99)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
First those failures seemed random, but looking closer testWriteAndRead
passes when the gradle daemon does the first run (e.g. after killing the daemon process) whereas consecutive runs fail with the above error (the assertion tests that the listener received a message).
Happens on the latest master (df5ac59f) with gradle 5.4 and also with the previously used gradle 4.10.2 (dc649b19).
Might be that the tearDown method needs to do more than just delete the test directory, but that's a wild first guess.