-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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-buffer-tostring-rangeerror
is flaky (timeout)
#52964
Comments
I'm able to reproduce locally: running the test 100'000 times, I got 6 timeouts. If I add a |
I also investigated this a bit earlier. I was able to reproduce it quite consistently with just a 1000 runs and reduced it to this: 'use strict';
require('../common');
const assert = require('assert');
const { constants: { MAX_STRING_LENGTH } } = require('buffer');
const len = MAX_STRING_LENGTH + 1;
const message = {
code: 'ERR_STRING_TOO_LONG',
name: 'Error',
};
assert.throws(() => Buffer(len).toString('utf8'), message);
assert.throws(() => Buffer(len).toString('utf8'), message); Removing either the second |
Could we try to add |
I got curious again by #52959 (comment) and indeed this doesn't reproduce on 07f481c but does on 91661ec so it looks like something in #52293 introduced this flakiness as well / aka probably it's the same root cause. |
@fahrradflucht can you try with the |
It indeed does not reproduce with |
Actually, I'm sorry, I think I have to take this back. I now reproduced a bunch of times on 07f481c as well. It might happen less prior to the v8 update, but it can be reproduced as well. |
what environment did you guys reproduce it locally? @aduh95 @fahrradflucht |
Test
test-buffer-tostring-rangeerror
Platform
Linux x64
Console output
Build links
Additional information
No response
The text was updated successfully, but these errors were encountered: