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

@Trott Trott commented Dec 17, 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)

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)
@Trott Trott added the fast-track PRs that do not need to wait for 72 hours to land. label Dec 17, 2018
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Dec 17, 2018
@Trott
Copy link
Copy Markdown
Member Author

Trott commented Dec 17, 2018

@targos
Copy link
Copy Markdown
Member

targos commented Dec 17, 2018

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

@Trott
Copy link
Copy Markdown
Member Author

Trott commented Dec 18, 2018

Landed in 3ccb900

@Trott Trott 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>
@MylesBorins MylesBorins 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>
@BethGriggs BethGriggs mentioned this pull request May 1, 2019
@Trott Trott deleted the refresh2 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 72 hours to land. test Issues and PRs related to the tests.

8 participants