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

Further expand test tolerance to address flakiness. #501

Merged
merged 2 commits into from
Jun 19, 2018

Conversation

mjcarroll
Copy link
Member

I tested this on mini3 with the expanded tolerance and a Debug build, and it corrects it. The failures were right outside of the tolerance (by a few milliseconds), so it may have been some jitter in the timers causing the tests to fail.

I have also changed the assertions to be more informative if it fails again.

@dirk-thomas dirk-thomas added the in progress Actively being worked on (Kanban column) label Jun 19, 2018
@mjcarroll
Copy link
Member Author

mjcarroll commented Jun 19, 2018

With build type set to Debug.

  • Linux Build Status <- Uncrustify (newline)
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows [Build Status]

@mjcarroll mjcarroll added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Jun 19, 2018
Copy link
Member

@dirk-thomas dirk-thomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me.

rclcpp/test/executors/test_multi_threaded_executor.cpp Outdated Show resolved Hide resolved
@mjcarroll mjcarroll merged commit bf89dc0 into master Jun 19, 2018
@mjcarroll mjcarroll deleted the expand_multi_executor_tolerance branch June 19, 2018 18:06
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Jun 19, 2018
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
…os2#501)

* reset error message before setting a new one, embed the original one

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>

* fix max line length

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants