Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • briar briar
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 785
    • Issues 785
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • briar
  • briarbriar
  • Issues
  • #1561

Closed
Open
Created May 03, 2019 by iwakeh@iwakeh

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.

Assignee
Assign to
Time tracking