-
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: two unexpected failures when disk is nearly full #7609
Comments
By any chance are you running an older version of Node? I saw this behavior with an old version that didn't have |
Depends on your definition of 'older'. It was yesterday's master. |
Sorry, I meant a much, much older version. |
@nodejs/testing @nodejs/fs |
@bnoordhuis are these still up to date? |
I think so. I don't have a problem with closing it out; the errors are confusing / misleading but it's something of an edge case. |
Is it possible that this is a duplicate of #16601 ? |
I don't think so. The latest failure in #16601 is a timeout, not a failed assert. The one before that is a missing expected error, which probably also isn't this issue. |
I can poke at this issue and try to fix the flakiness. FWIW one of these tests is now here in master.
Is it still in master? Should I be looking on another branch? |
So this is now only about |
State of the file on master when @bnoordhuis opened this PR: Stack trace provided by @bnoordhuis above says that the assertion is firing on line 27, which is: assert.ok(err instanceof Error); |
ping @davisjam - were you able to make any progress on this? |
Afraid I haven't looked at it yet. |
do you mind if I tag |
@gireeshpunathil By all means. |
(Just a suggestion: Might want to consider tagging it |
I'm going to close this out, no one has really volunteered to fix these in the two years and it's a fairly edge case issue. |
Both tests try to create a largish file (~250 MB) but instead of failing with an ENOSPC error, they appear to be truncating the file.
They then fail when trying to read back the file. The toString() operation doesn't raise the expected error because the input is too small to trigger it.
The text was updated successfully, but these errors were encountered: