-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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: move long-running test to sequential #10161
Conversation
Refs: #9815 (comment) |
Meh...passed on SmartOs 15 64-bit, but barely didn't time out: ok 1255 sequential/test-buffer-creation-regression
---
duration_ms: 58.896 Will try splitting the test up into three files. |
4ec0784
to
f9c5b61
Compare
OK, split the test into 3. Trying again... |
These results seem more like it: ok 1255 sequential/test-buffer-creation-regression-1
---
duration_ms: 0.428
...
ok 1256 sequential/test-buffer-creation-regression-2
---
duration_ms: 9.35
...
ok 1257 sequential/test-buffer-creation-regression-3
---
duration_ms: 16.939 |
CI is all green ✅ . I'd like to expedite landing this because this issue is significantly impacting CI results. Reviews, anyone? @nodejs/testing @thefourtheye |
@Trott All the three tests have more than 90% similar code. Can we refactor and put the common code in one file? |
Apart from that, I believe the second test itself is enough as regression. Can we modify the original test and remove other two cases? |
For me, at least, running v7.2.0, only the final test case fails. Happy to get rid of the other two and just keep that one, if that works. |
test-buffer-creation-regression is flaky on some SmartOS hosts in CI, timing out. Move to sequential so it does not compete with other tests for resources. Reduce three test cases to just the one needed to identify the regression.
f9c5b61
to
9a26b69
Compare
Reduced to just the one test case needed. CI: https://ci.nodejs.org/job/node-test-pull-request/5286/ |
test-buffer-creation-regression is flaky on some SmartOS hosts in CI, timing out. Move to sequential so it does not compete with other tests for resources. Reduce three test cases to just the one needed to identify the regression. PR-URL: nodejs#10161 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>
Landed in cdeb85e. Thanks. |
test-buffer-creation-regression is flaky on some SmartOS hosts in CI, timing out. Move to sequential so it does not compete with other tests for resources. Reduce three test cases to just the one needed to identify the regression. PR-URL: #10161 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>
This is failing when backported to v4.x is that expected behavior?
|
|
@Trott this is failing on v6.x too. labelled don't land, feel free to backport |
Seems like the original test doesn't exist on v6.x either, so yeah, do not land on v6.x. |
test-buffer-creation-regression is flaky on some SmartOS hosts in CI, timing out. Move to sequential so it does not compete with other tests for resources. Reduce three test cases to just the one needed to identify the regression. PR-URL: #10161 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com> Backport-Of: #10161 PR-URL: #11176 Reviewed-By: James M Snell <jasnell@gmail.com>
test-buffer-creation-regression is flaky on some SmartOS hosts in CI, timing out. Move to sequential so it does not compete with other tests for resources. Reduce three test cases to just the one needed to identify the regression. PR-URL: #10161 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com> Backport-Of: #10161 PR-URL: #11176 Reviewed-By: James M Snell <jasnell@gmail.com>
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
test buffer
Description of change
test-buffer-creation-regression is flaky on some SmartOS hosts in CI,
timing out. Move to sequential to it does not compete with other tests
for resources.