-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: parallel/test-stringbytes-external is too slow #2370
Comments
Major issue identified. All the string concatenation in the // make sure Buffers from externals are the same
for (var i = 0; i < c_bin.length; i++) {
assert.equal(c_bin[i], c_ucs[i], c_bin[i] + ' == ' + c_ucs[i] +
' : index ' + i);
} to: // make sure Buffers from externals are the same
for (var i = 0; i < c_bin.length; i++) {
if (c_bin[i] !== c_ucs[i])
assert.equal(c_bin[i], c_ucs[i]);
} a good chunk of time is lost. Same with the other 4 @bnoordhuis Easy fix is to just remove all the string concatenation. Thoughts? |
Seems reasonable to me. |
Yea, I got it down quite a bit by changing those asserts
|
Ref: #2410 |
Should be fixed in 37ee43e |
going to reopen this, it's failing still/again, e.g. https://ci.nodejs.org/job/node-test-binary-arm/RUN_SUBSET=2,nodes=pi1-raspbian-wheezy/34
|
Hopefully #3287 fixes this. |
I'm pretty sure this is fixed at this point. Let's try a stress test: https://ci.nodejs.org/job/node-stress-single-test/398/nodes=pi1-raspbian-wheezy/console |
The buildbot went offline halfway through but 323 successful and 0 failing runs seem like good indication this issue is fixed. |
It fails sporadically on the rpi1 buildbot: https://jenkins-iojs.nodesource.com/job/node-test-commit-arm/153/nodes=pi1-raspbian-wheezy/tapTestReport/test.tap-667/
/cc @trevnorris
The text was updated successfully, but these errors were encountered: