Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Fix flaky unit test in
attributes_test.go
(#6785)
## Description of the changes - This PR fixes a flaky test that was being caused because a map is not iterated in order and hence the insertion order of elements in a `pcommon.Map` is not guaranteed ## How was this change tested? - CI ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `npm run lint` and `npm run test` --------- Signed-off-by: Mahad Zaryab <[email protected]>
- Loading branch information