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

test: fix test-trace-events-dns #22674

Merged
merged 1 commit into from
Sep 3, 2018
Merged

test: fix test-trace-events-dns #22674

merged 1 commit into from
Sep 3, 2018

Conversation

Trott
Copy link
Member

@Trott Trott commented Sep 3, 2018

Test is using common.fileExists() which has been removed. There is no
need to check that the file exists as the attempt to read the file in
the next line will fail if the file does not exist. Remove existence
check.

This has broken node-daily-master (as that's where internet tests are run). Please 👍 to fast-track to get it fixed.

@nodejs/testing

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@Trott Trott added the fast-track PRs that do not need to wait for 48 hours to land. label Sep 3, 2018
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Sep 3, 2018
@Trott
Copy link
Member Author

Trott commented Sep 3, 2018

Since this test is not run in our usual CI run, we have to use the custom-suites job to exercise it. Other than that, the lint job is the only thing that is affected by it.

CI: https://ci.nodejs.org/job/node-test-commit-custom-suites/678/

(And here's the one from node-daily-master last night showing it failing: https://ci.nodejs.org/job/node-test-commit-custom-suites/675/)

@Trott
Copy link
Member Author

Trott commented Sep 3, 2018

Lint is green, custom job is green. Full CI out of abundance of caution (as this thing shouldn't be executed in a ordinary CI): https://ci.nodejs.org/job/node-test-pull-request/16989/

@refack refack mentioned this pull request Sep 3, 2018
1 task
Test is using `common.fileExists()` which has been removed. There is no
need to check that the file exists as the attempt to read the file in
the next line will fail if the file does not exist. Remove existence
check.

PR-URL: nodejs#22674
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
@refack refack merged commit 120814b into nodejs:master Sep 3, 2018
@refack
Copy link
Contributor

refack commented Sep 3, 2018

Fast-tracked (👍 by refack, danbev, and addaleax). Landed in 120814b

addaleax pushed a commit that referenced this pull request Sep 3, 2018
Test is using `common.fileExists()` which has been removed. There is no
need to check that the file exists as the attempt to read the file in
the next line will fail if the file does not exist. Remove existence
check.

PR-URL: #22674
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
targos pushed a commit that referenced this pull request Sep 5, 2018
Test is using `common.fileExists()` which has been removed. There is no
need to check that the file exists as the attempt to read the file in
the next line will fail if the file does not exist. Remove existence
check.

PR-URL: #22674
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
targos pushed a commit that referenced this pull request Sep 6, 2018
Test is using `common.fileExists()` which has been removed. There is no
need to check that the file exists as the attempt to read the file in
the next line will fail if the file does not exist. Remove existence
check.

PR-URL: #22674
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
@Trott Trott deleted the fix-dns-test branch January 13, 2022 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fast-track PRs that do not need to wait for 48 hours to land. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants