Uh oh!
There was an error while loading. Please reload this page.
test: try to reduce flakes on Windows - #28035
Conversation
This comment has been minimized.
This comment has been minimized.
refack
commented
Jun 2, 2019
/CC @nodejs/testing |
mscdex
commented
Jun 2, 2019
Shouldn't the subsystem prefix here just be |
297daf1 to
9c57deaComparerichardlau
commented
Jun 2, 2019
Please could you add a brief sentence or two in the commit message as to why? |
refack
commented
Jun 2, 2019
Fixed. |
9c57dea to
b557192Comparerefack
commented
Jun 2, 2019
Wrote some words. Didn't have anything too enlightening 🤷♂.
|
This comment has been minimized.
This comment has been minimized.
c869ded to
ccf9100Compare
This comment has been minimized.
This comment has been minimized.
rmdir first on windowsrmdir first on windowsUh oh!
There was an error while loading. Please reload this page.
55fd037 to
a17d5baCompare
This comment has been minimized.
This comment has been minimized.
Trott
left a comment
There was a problem hiding this comment.
LGTM if CI is green and once info about opts is added to the tmpdir.refresh() entry in test/common/README.md.
Trott
commented
Jun 3, 2019
@nodejs/platform-windows |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
BridgeAR
left a comment
There was a problem hiding this comment.
LGTM but it seems like on Windows it will now always try both ways, even though the folder might already be deleted by rmdir.
There was a problem hiding this comment.
If everything passes, should this not return?
There was a problem hiding this comment.
Not totally sure why, but it's not trivial https://ci.nodejs.org/job/node-test-binary-windows-2/1275/
sam-github
commented
Jun 5, 2019
Is this intended to fix failures like below? |
refack
commented
Jun 5, 2019
Exactly. |
91c51b2 to
bf5b8e8Compare
This comment has been minimized.
This comment has been minimized.
bf5b8e8 to
4059ebaCompare4059eba to
e531a68Compare
This comment has been minimized.
This comment has been minimized.
rmdir first on windowse531a68 to
803a946Compare
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Trott
left a comment
There was a problem hiding this comment.
LGTM with minor doc update to the function signature
7fce3e9 to
60133a1Comparenodejs-github-bot
commented
Jun 6, 2019
cmd's `rmdir` is hardened to deal with Windows edge cases, like
lingering processes, indexing, and AV checks. So we give it a try first.
* Added `opts = { spawn = true }` to opt-out of spawning
* test-pipeconnectwrap.js - spawning messes up async_hooks state
PR-URL: nodejs#28035
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>This makes temp dir names consistent whether we run in stand-alone mode, via `test.py` in single process, or in multi-process. PR-URL: nodejs#28035 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
PR-URL: nodejs#28035 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Also try to make more traceable. PR-URL: nodejs#28035 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
60133a1 to
65a5f7bComparecmd's `rmdir` is hardened to deal with Windows edge cases, like
lingering processes, indexing, and AV checks. So we give it a try first.
* Added `opts = { spawn = true }` to opt-out of spawning
* test-pipeconnectwrap.js - spawning messes up async_hooks state
PR-URL: #28035
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>This makes temp dir names consistent whether we run in stand-alone mode, via `test.py` in single process, or in multi-process. PR-URL: #28035 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
PR-URL: #28035 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Also try to make more traceable. PR-URL: #28035 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
tmpdirThis makes temp dir names consistent whether we run in stand-alone mode,
via
test.pyin single process, or in multi-process.rmdirfirst on Windowscmd's
rmdiris hardened to deal with Windows edge cases, likelingering processes, indexing, and AV checks. So we give it a try first.
tmpdirChecklist
make -j4 test(UNIX), orvcbuild test(Windows) passes