| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The test is memory intensive and times out occasionally on Raspberry Pi devices in CI. Successful test runs take about 90 seconds, but the devices time out after 120 seconds. That's not a lot of headroom. So let's skip the test on devices that have only modest amounts of memory. Fixes: nodejs#7042
|
|
||
| const common = require('../common'); | ||
|
|
||
| const skipMessage = 'intensive toString tests due to memory confinements'; |
There was a problem hiding this comment.
Doesn't there need to be a header here or something, like the other tests that have a similar skip message?
Sorry, something went wrong.
There was a problem hiding this comment.
I'm not sure what you mean. Here's another example:
And here's what this test pass when it skips:
1..0 # Skipped: intensive toString tests due to memory confinements
Sorry, something went wrong.
There was a problem hiding this comment.
I guess I'll run CI and see what happens on the Raspberry Pi devices...
Sorry, something went wrong.
There was a problem hiding this comment.
Nevermind, I didn't realize .skip() was adding the necessary header.
Sorry, something went wrong.
Sorry, something went wrong.
|
Only CI failure is known FreeBSD flaky test. (How is everyone not LGTM-ing the crud out of #7555 to get that fixed?) |
Sorry, something went wrong.
|
Raspberry Pis in CI seem to skip correctly: ok 45 parallel/test-fs-read-buffer-tostring-fail # skip intensive toString tests due to memory confinements --- duration_ms: 2.53 That output format matches other skipped tests, such as: ok 64 parallel/test-http-full-response # skip problem spawning `ab`. --- duration_ms: 2.855 Meanwhile, the test is not skipped on (for example) OS X: ok 322 parallel/test-fs-read-buffer-tostring-fail --- duration_ms: 2.336 I think this is good to go. |
Sorry, something went wrong.
|
lgtm, seems like the sensible way to go |
Sorry, something went wrong.
|
lgtm |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
The test is memory intensive and times out occasionally on Raspberry Pi devices in CI. Successful test runs take about 90 seconds, but the devices time out after 120 seconds. That's not a lot of headroom. So let's skip the test on devices that have only modest amounts of memory. Fixes: nodejs#7042 PR-URL: nodejs#7575 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
|
@thealphanerd Yes if it lands cleanly and CI passes. |
Sorry, something went wrong.
The test is memory intensive and times out occasionally on Raspberry Pi devices in CI. Successful test runs take about 90 seconds, but the devices time out after 120 seconds. That's not a lot of headroom. So let's skip the test on devices that have only modest amounts of memory. Fixes: #7042 PR-URL: #7575 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
test fs
Description of change
The test is memory intensive and times out occasionally on Raspberry Pi
devices in CI. Successful test runs take about 90 seconds, but the
devices time out after 120 seconds. That's not a lot of headroom. So
let's skip the test on devices that have only modest amounts of memory.