Skip to content

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
@codecov
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.

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