Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

testRegisterPublisher and testRegisterPublisherRetries are broken #268

@drigz

Description

@drigz

aa38119 (#238) has broken testRegisterPublisher and testRegisterPublisherRetries. The stacktrace in both cases is similar:

java.lang.AssertionError: 
	at org.junit.Assert.fail(Assert.java:91)
	at org.junit.Assert.assertTrue(Assert.java:43)
	at org.junit.Assert.assertTrue(Assert.java:54)
	at org.ros.internal.node.MasterRegistrationTest.testRegisterPublisher(MasterRegistrationTest.java:45)

The assertion on line 45 is:

assertTrue(publisherListener.awaitMasterUnregistrationSuccess(1, TimeUnit.SECONDS));

I am testing with ./gradlew test on Debian Buster with Gradle 2.14.1 and Oracle Java 1.8.0.

@stratomda Any idea what the right fix here is? Do the tests fail for you as well?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions