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

Set logging format in tests to avoid drift when defaults change. #420

Merged
merged 1 commit into from
Dec 8, 2019

Conversation

nuclearsandwich
Copy link
Member

ros2/rcutils#190 changed the default logging format which impacted these tests which compare the output against sample output.

As discussed in ros2/rcutils#190 (comment) setting the logging format in the test prevents it from being broken by future changes, so that's the approach I've taken.

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.

DCO

logging_demo/test/test_logging_demo.py.in Outdated Show resolved Hide resolved
@nuclearsandwich nuclearsandwich force-pushed the nuclearsandwich/set-logging-format branch from 1268448 to 37804b0 Compare December 7, 2019 14:37
Signed-off-by: Steven! Ragnarök <steven@nuclearsandwich.com>
@nuclearsandwich nuclearsandwich force-pushed the nuclearsandwich/set-logging-format branch from 37804b0 to 867fd29 Compare December 7, 2019 14:37
@nuclearsandwich
Copy link
Member Author

nuclearsandwich commented Dec 7, 2019

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

The rosout failures are separate and still in my queue to squash and are shown above because I tested --packages-up-to rather than --packages-select.

@nuclearsandwich nuclearsandwich merged commit dbcd313 into master Dec 8, 2019
@nuclearsandwich nuclearsandwich deleted the nuclearsandwich/set-logging-format branch December 8, 2019 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in review Waiting for review (Kanban column)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants