Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return false if connection timeout #33

Open
wants to merge 1 commit into
base: kinetic-devel
Choose a base branch
from

Conversation

mikaelarguedas
Copy link
Member

adresses partially #32

@mikaelarguedas
Copy link
Member Author

@ros-pull-request-builder retest this please.

@nuclearsandwich
Copy link
Member

@ros-pull-request-builder retest this please. 🤞

@mikaelarguedas mikaelarguedas changed the base branch from lunar-devel to kinetic-devel November 2, 2017 23:24
@truhoang
Copy link

Has this been fixed? Still running into the problem in #32

@mikaelarguedas
Copy link
Member Author

No this has not been fixed, this PR is pending as it breaks the tests. I didnt have time to look into why yet so I left this PR pending.

Right now the only workaround is to make sure to not wait for longer than the default connextion timeout and delete the bonds when they disconnect and establish new ones.

Any help in testing and validating this PR is welcome.

Hope this helps

@truhoang
Copy link

The following was reported:

False is not true
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/tmp/catkin_workspace/src/bond_core/test_bond/test/test_callbacks_py.py", line 64, in test_die_in_life_callback
    self.assertTrue(a.wait_until_formed(rospy.Duration(5.0)))
  File "/usr/lib/python2.7/unittest/case.py", line 422, in assertTrue
    raise self.failureException(msg)

Seems like the second condition returned false for this test. Shouldn't it test for:

self.sm.getState().getName() == 'SM.Alive'

or would this not matter?

@moshesamson1
Copy link

is there any progress regarding this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants