Skip to content

test: add missing tmpdir.refresh() in recently-added test - #25098

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:refresh2
Closed

test: add missing tmpdir.refresh() in recently-added test#25098
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:refresh2

Conversation

@Trott

Copy link
Copy Markdown
Member

Without tmpdir.refresh(), the test fails in some situations. This was
missed because using test.py will almost always result in a leftover
tmpdir lying around that makes the refresh() not needed.

Refs: #24913 (comment)

Collaborators, 👍 here to fast-track.

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

Without `tmpdir.refresh()`, the test fails in some situations. This was
missed because using `test.py` will almost always result in a leftover
tmpdir lying around that makes the `refresh()` not needed.
Refs: nodejs#24913 (comment)
@TrottTrott added the fast-track PRs that do not need to wait for 48 hours to land. label Dec 17, 2018
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Dec 17, 2018
@Trott

Trott commented Dec 17, 2018

Copy link
Copy Markdown
MemberAuthor

@targos

targos commented Dec 17, 2018

Copy link
Copy Markdown
Member

Thanks. This fixes my case, which was git clean -fdx && ./configure && make test -j8 V=

@Trott

Copy link
Copy Markdown
MemberAuthor

Landed in 3ccb900

@TrottTrott closed this Dec 18, 2018
Trott added a commit to Trott/io.js that referenced this pull request Dec 18, 2018
Without `tmpdir.refresh()`, the test fails in some situations. This was
missed because using `test.py` will almost always result in a leftover
tmpdir lying around that makes the `refresh()` not needed.
Refs: nodejs#24913 (comment)
PR-URL: nodejs#25098
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 25, 2018
Without `tmpdir.refresh()`, the test fails in some situations. This was
missed because using `test.py` will almost always result in a leftover
tmpdir lying around that makes the `refresh()` not needed.
Refs: #24913 (comment)
PR-URL: #25098
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
@MylesBorinsMylesBorins mentioned this pull request Dec 25, 2018
@drewfish

Copy link
Copy Markdown
Contributor

Should the same changes also be made in test/parallel/test-child-process-spawnsync-args.js ?

refack pushed a commit to refack/node that referenced this pull request Jan 14, 2019
Without `tmpdir.refresh()`, the test fails in some situations. This was
missed because using `test.py` will almost always result in a leftover
tmpdir lying around that makes the `refresh()` not needed.
Refs: nodejs#24913 (comment)
PR-URL: nodejs#25098
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
BethGriggs pushed a commit that referenced this pull request Mar 14, 2019
Without `tmpdir.refresh()`, the test fails in some situations. This was
missed because using `test.py` will almost always result in a leftover
tmpdir lying around that makes the `refresh()` not needed.
Refs: #24913 (comment)
PR-URL: #25098
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
@BethGriggsBethGriggs mentioned this pull request May 1, 2019
@Trott
Trott deleted the refresh2 branch January 13, 2022 22:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-trackPRs that do not need to wait for 48 hours to land.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@Trott@nodejs-github-bot@targos@drewfish@antsmartian@watilde@cjihrig@richardlau