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

chore: Updated test/integration/core/dns reverse test to remove flaki… #2121

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

jsumners-nr
Copy link
Contributor

Our CI has been routinely failing when running the dns integration test suite due to some inconsistency in the environment. See https://github.com/newrelic/node-newrelic/actions/runs/8542018079/job/23403475945#step:6:155. This PR changes the test to always resolve 127.0.0.1 to the known array ['localhost'] in order to remove the flakiness.

@jsumners-nr jsumners-nr requested a review from bizob2828 April 3, 2024 16:58
@bizob2828 bizob2828 added the dev:tests Indicates only changes to tests label Apr 3, 2024
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.19%. Comparing base (158c295) to head (b605d91).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2121      +/-   ##
==========================================
- Coverage   97.20%   97.19%   -0.01%     
==========================================
  Files         251      250       -1     
  Lines       42317    42317              
==========================================
- Hits        41133    41132       -1     
- Misses       1184     1185       +1     
Flag Coverage Δ
integration-tests-16.x 78.54% <ø> (+0.24%) ⬆️
integration-tests-18.x 78.53% <ø> (+0.25%) ⬆️
integration-tests-20.x 78.54% <ø> (+0.25%) ⬆️
unit-tests-16.x 90.44% <ø> (ø)
unit-tests-18.x 90.35% <ø> (ø)
unit-tests-20.x 90.35% <ø> (ø)
versioned-tests-16.x 74.67% <ø> (+0.16%) ⬆️
versioned-tests-18.x 75.77% <ø> (+0.15%) ⬆️
versioned-tests-20.x 75.78% <ø> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@bizob2828 bizob2828 merged commit c32cb27 into newrelic:main Apr 3, 2024
26 checks passed
@jsumners-nr jsumners-nr deleted the fix-dns-tests branch April 3, 2024 17:06
@github-actions github-actions bot mentioned this pull request Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev:tests Indicates only changes to tests
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants