-
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: TextDecoder custom inspection #24166
test: TextDecoder custom inspection #24166
Conversation
@robin-drexler - CI fails for this PR, which I guess is related, please have a look:
|
bd53ab9
to
5c2cf21
Compare
@gireeshpunathil yes, these failures were because of our changes - we used the option Edit: Also, since I rebased and made actual changes to the commit and code, we should invalidate all approvals on this PR? |
@robin-drexler - thanks. the sanity test failed because: we can fix it while landing, so no worries.
|
@robin-drexler - linter failed with: so basically the |
CI failure seems to be unrelated, however re-running to be doubles-sure. |
Failure on shared-lib without-intl CI seems related: 04:51:17 not ok 1999 parallel/test-whatwg-encoding-textdecoder
04:51:17 ---
04:51:17 duration_ms: 0.142
04:51:17 severity: fail
04:51:17 exitcode: 1
04:51:17 stack: |-
04:51:17 assert.js:86
04:51:17 throw new AssertionError(obj);
04:51:17 ^
04:51:17
04:51:17 AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
04:51:17 + actual - expected
04:51:17
04:51:17 + "TextDecoder {\n encoding: 'utf-8',\n fatal: false,\n ignoreBOM: true,\n [Symbol(flags)]: 4,\n [Symbol(handle)]:\n StringDecoder {\n encoding: 'utf8',\n [Symbol(kNativeDecoder)]: <Buffer 00 00 00 00 00 00 01> } }"
04:51:17 - "TextDecoder {\n encoding: 'utf-8',\n fatal: false,\n ignoreBOM: true,\n [Symbol(flags)]: 4,\n [Symbol(handle)]: {} }"
04:51:17 at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/nodes/ubuntu1604_sharedlibs_withoutintl_x64/test/parallel/test-whatwg-encoding-textdecoder.js:104:10)
04:51:17 at Module._compile (internal/modules/cjs/loader.js:722:30)
04:51:17 at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
04:51:17 at Module.load (internal/modules/cjs/loader.js:620:32)
04:51:17 at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
04:51:17 at Function.Module._load (internal/modules/cjs/loader.js:552:3)
04:51:17 at Function.Module.runMain (internal/modules/cjs/loader.js:775:12)
04:51:17 at startup (internal/bootstrap/node.js:300:19)
04:51:17 at bootstrapNodeJSCore (internal/bootstrap/node.js:833:3)
04:51:17 ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test needs to be fixed...
I'm fixing the test and will try to leave the co-authorship in there, but if our tooling chokes and we can only have one author, is there a clear primary author here? |
That'd be @ZauberNerd as I got the sole git attribution for other PR we've paired. @Trott thanks for offering to do the fix, I just wonder if maybe @ZauberNerd would like to do it himself, though. :) |
Cool. I'll hold off, especially because I'm not actually sure if the the test is failing because stuff is broken or if the different result should be expected if there is no Intl compiled into the (If it helps, please note that |
@robin-drexler @ZauberNerd Still being worked on? Or should someone else pick this up? |
5c2cf21
to
a696d1d
Compare
These tests ensure hidden fields are shown when inspecting with `showHidden` and that passing negative `depth` prints simplified value. Co-authored-by: Robin Drexler <[email protected]>
a696d1d
to
3813422
Compare
@Trott I rebased against master, amended the commit message to adhere to the linter rules and added an if/else branch for Edit: The Jenkins jobs have not re-run after this force-push. Do they need to be triggered manually? |
Yep! |
These tests ensure hidden fields are shown when inspecting with `showHidden` and that passing negative `depth` prints simplified value. Co-authored-by: Robin Drexler <[email protected]> PR-URL: nodejs#24166 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: James M Snell <[email protected]>
Landed in 57869bf. 🎉 Thanks for the contribution! |
These tests ensure hidden fields are shown when inspecting with `showHidden` and that passing negative `depth` prints simplified value. Co-authored-by: Robin Drexler <[email protected]> PR-URL: #24166 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: James M Snell <[email protected]>
These tests ensure hidden fields are shown when inspecting with `showHidden` and that passing negative `depth` prints simplified value. Co-authored-by: Robin Drexler <[email protected]> PR-URL: #24166 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: James M Snell <[email protected]>
These tests ensure hidden fields are shown when inspecting with `showHidden` and that passing negative `depth` prints simplified value. Co-authored-by: Robin Drexler <[email protected]> PR-URL: #24166 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: James M Snell <[email protected]>
These tests ensure hidden fields are shown when inspecting with `showHidden` and that passing negative `depth` prints simplified value. Co-authored-by: Robin Drexler <[email protected]> PR-URL: nodejs#24166 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: James M Snell <[email protected]>
These tests ensure hidden fields are shown when inspecting with `showHidden` and that passing negative `depth` prints simplified value. Co-authored-by: Robin Drexler <[email protected]> PR-URL: #24166 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: James M Snell <[email protected]>
These tests ensure hidden fields are shown when inspecting with
showHidden
and that passing negativedepth
prints simplified value.Co-authored-by: ZauberNerd [email protected]
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes