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 ostream_log_test Mac #1208

Merged
merged 2 commits into from
Feb 14, 2022

Conversation

esigo
Copy link
Member

@esigo esigo commented Feb 13, 2022

Fixes #1187 (issue)

Changes

The issue is because of std::unordered_map that is used for printing resource attributes. The order in printing is not guaranteed. In this PR the key-value pairs are tested one-by-one.

For significant contributions please make sure you have completed the following items:

  • CHANGELOG.md updated for non-trivial changes
  • Unit tests have been added
  • Changes in public API reviewed

@esigo esigo requested a review from a team February 13, 2022 10:22
@codecov
Copy link

codecov bot commented Feb 13, 2022

Codecov Report

Merging #1208 (fadffb9) into main (e89e5b3) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1208   +/-   ##
=======================================
  Coverage   93.35%   93.35%           
=======================================
  Files         193      193           
  Lines        6908     6908           
=======================================
  Hits         6448     6448           
  Misses        460      460           

@ThomsonTan ThomsonTan merged commit 9ed312b into open-telemetry:main Feb 14, 2022
@esigo esigo deleted the ostream_log_test-fix-Mac branch February 14, 2022 21:08
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.

ostream_log_test failure on Mac
3 participants