Skip to content

fix ostream_log_test Mac#1208

Merged
ThomsonTan merged 2 commits intoopen-telemetry:mainfrom
esigo:ostream_log_test-fix-Mac
Feb 14, 2022
Merged

fix ostream_log_test Mac#1208
ThomsonTan merged 2 commits intoopen-telemetry:mainfrom
esigo:ostream_log_test-fix-Mac

Conversation

@esigo
Copy link
Copy Markdown
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
Copy Markdown

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