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

Lifespan tests don't seem to do the correct thing with Opensplice #363

Open
clalancette opened this issue May 30, 2019 · 0 comments
Open
Labels
bug Something isn't working

Comments

@clalancette
Copy link
Contributor

Bug report

I'm testing the quality of service demos on Opensplice, and the lifespan demos don't seem to work as described.

Required Info:

  • Operating System:
    • Ubuntu 18.04
  • Installation type:
    • Source
  • Version or commit hash:
  • DDS implementation:
    • Opensplice
  • Client library (if applicable):
    • rclcpp/rclpy

Steps to reproduce issue

ros2 run quality_of_service_demo_cpp lifespan 4000 --publish-count 10 --subscribe-after 3000

Expected behavior

When the subscriber is created after 3 seconds, it receives all of the old messages that have been published (since their lifespan is 4 seconds), followed by new data that is published.

Actual behavior

The subscriber is created after 3 seconds, but only sees new data; old data is lost.

Additional information

This seems to work in Fast-RTPS, so either it isn't supported in Opensplice or there is a bug in it.

@mabelzhang mabelzhang added the bug Something isn't working label Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants