Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
test: fix unit test failures after merge
Browse files Browse the repository at this point in the history
Marked one test flaky, and provided error message for test-buffer-fill.js
  • Loading branch information
digitalinfinity committed Jun 1, 2017
1 parent 7aa5a91 commit 7f4f9ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ test-fs-watch-encoding : FAIL, PASS
[$jsEngine==chakracore]
test-assert-checktag : PASS,FLAKY
test-async-wrap-getasyncid : PASS,FLAKY
test-async-wrap-promise-after-enabled : PASS,FLAKY
test-buffer-bindingobj-no-zerofill : PASS,FLAKY
test-buffer-sharedarraybuffer : PASS,FLAKY
test-child-process-promisified : PASS,FLAKY
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-buffer-fill.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ assert.throws(() => {
if (common.isChakraEngine) {
// Skip on ChakraCore due to TypedArray .length JIT bug
// (see this issue: https://github.com/Microsoft/ChakraCore/issues/2319)
throw new RangeError();
throw new RangeError('Index out of range');
}
const buf = new Buffer('w00t');
Object.defineProperty(buf, 'length', {
Expand Down

0 comments on commit 7f4f9ab

Please sign in to comment.