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 flaky unit tests #2364

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Conversation

sjberman
Copy link
Contributor

@sjberman sjberman commented Aug 12, 2024

Problem: A couple unit tests were flaky due to the ordering of maps or lists that were being parsed.

Solution: Eliminate the randomness of the results.

@sjberman sjberman requested a review from a team as a code owner August 12, 2024 14:16
@github-actions github-actions bot added the chore Pull requests for routine tasks label Aug 12, 2024
Problem: A couple unit tests were flaky due to the ordering of maps or lists that were being parsed.

Solution: Eliminate the randomness of the results.
@sjberman sjberman changed the title Fix flaky unit test Fix flaky unit tests Aug 12, 2024
Copy link

codecov bot commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.66%. Comparing base (21e0bad) to head (c64e76b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2364      +/-   ##
==========================================
- Coverage   88.85%   88.66%   -0.20%     
==========================================
  Files         100       99       -1     
  Lines        7513     7284     -229     
  Branches       50        0      -50     
==========================================
- Hits         6676     6458     -218     
+ Misses        781      770      -11     
  Partials       56       56              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sjberman sjberman enabled auto-merge (squash) August 12, 2024 16:34
@sjberman sjberman merged commit 95d64ba into nginxinc:main Aug 12, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants