You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not ok 465 parallel/test-fs-error-messages
---
duration_ms: 0.293
severity: fail
stack: |-
/home/iojs/build/workspace/node-test-commit-linux/nodes/alpine36-container-x64/test/parallel/test-fs-error-messages.js:90
assert.strictEqual(err.message, 'EBADF: bad file descriptor, fstat');
^
TypeError: Cannot read property 'message' of null
at validateError (/home/iojs/build/workspace/node-test-commit-linux/nodes/alpine36-container-x64/test/parallel/test-fs-error-messages.js:90:28)
at /home/iojs/build/workspace/node-test-commit-linux/nodes/alpine36-container-x64/test/common/index.js:475:15
at FSReqWrap.oncomplete (fs.js:285:5)
This could be caused by a race condition of the invalid fd generation...I could think of an alternative way of getting those (e.g. starting from 1 << 30 and counting down, usually that should be invalid from the start).
Activity
joyeecheung commentedon Feb 17, 2018
This could be caused by a race condition of the invalid
fdgeneration...I could think of an alternative way of getting those (e.g. starting from1 << 30and counting down, usually that should be invalid from the start).test: use runWithInvalidFD() in tests expecting EBADF
test: introduce common.runWithInvalidFD()
test: use runWithInvalidFD() in tests expecting EBADF
test: introduce common.runWithInvalidFD()