| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Change test-trace-event such that it checks that all expected values are within the same trace object rather than scattered across multiple trace objects.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| if (trace.cat !== 'v8') | ||
| return false; | ||
| if (trace.name !== 'V8.ScriptCompiler') | ||
| return false; |
There was a problem hiding this comment.
Would prefer to condense these but definitely not necessary to do so:
e.g.
return trace.pid === proc.pid &&
trace.cat === 'v8' &&
trace.name === 'V8.ScriptCompiler';
Sorry, something went wrong.
There was a problem hiding this comment.
I think changing each to an assert.strictEqual() would be even better because it gives descriptive information about exactly why the throw isn't matching. Otherwise, you kind of have to figure it out.
Sorry, something went wrong.
There was a problem hiding this comment.
D'oh! No, I'm wrong, never mind. I thought this was inside an assert.throws() and not an Array.prototype.some(). Ignore my previous comment.
Sorry, something went wrong.
Sorry, something went wrong.
|
FreeBSD failure due to a stuck process and unrelated. FreeBSD CI again: https://ci.nodejs.org/job/node-test-commit-freebsd/6796/ |
Sorry, something went wrong.
|
FreeBSD CI again again: https://ci.nodejs.org/job/node-test-commit-freebsd/6816/ |
Sorry, something went wrong.
Change test-trace-event such that it checks that all expected values are within the same trace object rather than scattered across multiple trace objects. PR-URL: nodejs#11065 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
After #11106 land we can include this on v7.x-staging |
Sorry, something went wrong.
Change test-trace-event such that it checks that all expected values are within the same trace object rather than scattered across multiple trace objects. PR-URL: nodejs#11065 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Change test-trace-event such that it checks that all expected values are within the same trace object rather than scattered across multiple trace objects. PR-URL: nodejs#11065 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
This is dependent on #9304 which is semver-minor so (if I'm understanding correctly) should not land on the LTS branches. Adding dont-land-on labels. /cc @MylesBorins to confirm that I am Doing This Right™. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Change test-trace-event such that it checks that all expected values are
within the same trace object rather than scattered across multiple trace
objects.
Checklist
Affected core subsystem(s)
test