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

Fix mqueue transport and corba ipc tests #147

Merged
merged 3 commits into from
Apr 11, 2016

Conversation

meyerj
Copy link
Member

@meyerj meyerj commented Apr 7, 2016

There was a regression in the mqueue transport from a34a19a. The inputReady() call on the receiving side of the channel did not block anymore on the data sample being received and therefore the corba_mqueue_ipc_test can fail depending on the number of CPUs available and load.

Furthermore I improved both tests that involve IPC, the corba_ipc_test and corba_mqueue_ipc_test to be more resilient against execution under high CPU load or on slow machines. Additionally, a resetCallBackPeer() method has been introduced in order to allow multiple executions of the test (the client) against the same running server process.

This PR will hopefully fix the test errors on Travis for the toolchain-2.9 branch.

…s if the server thread is not executed fast enough

This issue hopefully fixes failing tests on Travis, e.g. https://travis-ci.org/orocos-toolchain/rtt/builds/111562655.

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
This is a regression from a34a19a.

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
…nalling timeout in corba_mqueue_ipc_test

Signed-off-by: Johannes Meyer <johannes@intermodalics.eu>
@meyerj meyerj added the bug label Apr 7, 2016
@meyerj meyerj added this to the 2.9 milestone Apr 7, 2016
@meyerj meyerj merged commit d282bf7 into orocos-toolchain:toolchain-2.9 Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant