-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: skip fs.watch on Travis #22589
Conversation
423a367
to
57e9b89
Compare
/CC @nodejs/testing |
Ping @refack |
I still wonder if we can't instead fix the root of the problem in some way, perhaps as I suggested here or some other solution? |
Since it tests in the faster boot container, we run with: Line 4 in 04195ad
IMHO switching to the full VM is not worth it, it will be slower (and it's not nice to Travis.com who are giving us this service for free). Also since we only use the Travis report as a quick way to get feedback, and not as a replacement to our testing cluster, I don't feel bad about trimming down the test suite that runs on Travis. On the other hand, I'm not 100% about adding cruft to our tests. A better approach is probably to enable ignoring tests via https://github.com/nodejs/node/blob/master/test/parallel/parallel.status |
I'd much prefer this than the current approach in this PR. |
f9f4226
to
ce1b34f
Compare
CI: https://ci.nodejs.org/job/node-test-pull-request/18384/ @nodejs/testing @nodejs/fs PTAL |
The tests being skipped here need to be tested on all our supported platforms. We even have captured the caveats in our docs, here. I understand these tests make our CI flaky, but I would prefer not to skip them if that is an option. |
FYI The container-based environment is being phased out: https://blog.travis-ci.com/2018-10-04-combining-linux-infrastructures |
Just to be clear, it's not skipped on our CI, only Travis (which we don't consider an official CI) |
ce1b34f
to
8920d5d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@refack Thanks for clarifying. I overlooked that initially.
8920d5d
to
4f5711d
Compare
We skip 3 tests that make intensive use of FS watcher on Travis because it has a limit of the number of watchers that can be used. Refs: travis-ci.com/nodejs/node/jobs/142234998 Refs: docs.travis-ci.com/user/environment-variables/#default-environment-variables
4f5711d
to
be1f428
Compare
I inlined the test logic ( |
Might be good to hold off on landing this until after #24511 to see if that fixes the problem. I'm going to put a blocked label here, but feel free to remove it if you feel that's not the right way to go. |
Let's close this as |
Fixes: #21310
Refs: https://docs.travis-ci.com/user/environment-variables/#default-environment-variables
Refs: https://travis-ci.com/nodejs/node/jobs/142234998
Ref: https://travis-ci.com/nodejs/node/jobs/142716959
Refs: #24198 (comment)
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes