Skip to content
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: run t.after() if test body throws #45870

Merged
merged 1 commit into from Dec 17, 2022

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Dec 15, 2022

This commit fixes a bug where t.after() was not called if the test body threw an exception.

This commit fixes a bug where t.after() was not called if the
test body threw an exception.
Copy link
Member

@MoLow MoLow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cjihrig cjihrig added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 15, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 15, 2022
@nodejs-github-bot
Copy link
Collaborator

@MoLow MoLow added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Dec 15, 2022
@cjihrig cjihrig removed the needs-ci PRs that need a full CI run. label Dec 15, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Dec 16, 2022

@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 17, 2022
@nodejs-github-bot nodejs-github-bot merged commit 385d595 into nodejs:main Dec 17, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in 385d595

@cjihrig cjihrig deleted the after-fix branch December 17, 2022 14:49
targos pushed a commit that referenced this pull request Jan 1, 2023
This commit fixes a bug where t.after() was not called if the
test body threw an exception.

PR-URL: #45870
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@RafaelGSS RafaelGSS mentioned this pull request Jan 2, 2023
MoLow pushed a commit to MoLow/node that referenced this pull request Jan 26, 2023
This commit fixes a bug where t.after() was not called if the
test body threw an exception.

PR-URL: nodejs#45870
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
MoLow pushed a commit to MoLow/node that referenced this pull request Jan 26, 2023
This commit fixes a bug where t.after() was not called if the
test body threw an exception.

PR-URL: nodejs#45870
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@MoLow MoLow added the backport-open-v18.x Indicate that the PR has an open backport. label Jan 26, 2023
juanarbol pushed a commit that referenced this pull request Jan 26, 2023
This commit fixes a bug where t.after() was not called if the
test body threw an exception.

PR-URL: #45870
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@MoLow MoLow removed the backport-open-v18.x Indicate that the PR has an open backport. label Jan 26, 2023
@juanarbol juanarbol mentioned this pull request Jan 28, 2023
MoLow pushed a commit to MoLow/node-core-test that referenced this pull request Feb 2, 2023
This commit fixes a bug where t.after() was not called if the
test body threw an exception.

PR-URL: nodejs/node#45870
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
(cherry picked from commit 385d595a4f1d887f6d4221e6071571132498d57c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. test_runner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants