-
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_runner: make sure tap subtest is reported in order #45220
Conversation
return; | ||
} | ||
this.#reportedSubtest = true; | ||
this.parent.reportSubtest(); |
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.
this is the actual fix.
@@ -0,0 +1,26 @@ | |||
TAP version 13 |
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.
prior to the fix, output was
TAP version 13
# Subtest: nested
# Subtest: nested
ok 1 - nested
---
duration_ms: 0.132417
...
# Subtest: nested - no tests
1..1
ok 1 - nested
---
duration_ms: 0.740375
...
1..1
ok 1 - nested - no tests
---
duration_ms: 1.359792
...
1..1
# tests 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2.906166
CC @nodejs/test_runner |
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.
LGTM. This change is part of the TAP parser PR, right?
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
the part seperating |
Commit Queue failed- Loading data for nodejs/node/pull/45220 ✔ Done loading data for nodejs/node/pull/45220 ----------------------------------- PR info ------------------------------------ Title test_runner: make sure tap subtest is reported in order (#45220) Author Moshe Atlow (@MoLow) Branch MoLow:test_runner_fix_subtest -> nodejs:main Labels needs-ci, dont-land-on-v14.x, test_runner Commits 3 - test_runner: make sure tap subtest is reported by order - Update lib/internal/test_runner/test.js - fix Committers 2 - Moshe Atlow - GitHub PR-URL: https://github.com/nodejs/node/pull/45220 Reviewed-By: Colin Ihrig Reviewed-By: Benjamin Gruenbaum ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/45220 Reviewed-By: Colin Ihrig Reviewed-By: Benjamin Gruenbaum -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - Update lib/internal/test_runner/test.js ⚠ - fix ℹ This PR was created on Fri, 28 Oct 2022 07:29:25 GMT ✔ Approvals: 2 ✔ - Colin Ihrig (@cjihrig) (TSC): https://github.com/nodejs/node/pull/45220#pullrequestreview-1160009419 ✔ - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/45220#pullrequestreview-1161016247 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2022-10-29T18:39:28Z: https://ci.nodejs.org/job/node-test-pull-request/47559/ - Querying data for job/node-test-pull-request/47559/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/3355445461 |
PR-URL: #45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Landed in 3e57891 |
PR-URL: #45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: #45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: nodejs#45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: nodejs#45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: nodejs#45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: #45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: #45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: #45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: nodejs/node#45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> (cherry picked from commit 3e57891ee2fde0971e18fc383c25acf8f90def05)
PR-URL: nodejs/node#45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> (cherry picked from commit 3e57891ee2fde0971e18fc383c25acf8f90def05)
PR-URL: nodejs/node#45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> (cherry picked from commit 3e57891ee2fde0971e18fc383c25acf8f90def05)
PR-URL: nodejs/node#45220 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> (cherry picked from commit 3e57891ee2fde0971e18fc383c25acf8f90def05)
No description provided.