-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
[v20.12.2 -> v20.13.0 regression] TestRunner: awaited variables no longer in scope #53033
Labels
test_runner
Issues and PRs related to the test runner subsystem.
Comments
VoltrexKeyva
added
the
test_runner
Issues and PRs related to the test runner subsystem.
label
May 17, 2024
Is there a way to validate that? I confirmed v22 is working, so maybe that's enough? |
I think that is the best way to validate it short of building Node 20 locally with that patch applied. |
Has this been backported to v20 yet? |
It looks like it is scheduled for this week. See #53486 |
#53486 landed. I think that resolved this, but feel free to reopen if I am mistaken. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
v20.13.1
Platform
Darwin, but reproduces on Ubuntu too
Subsystem
No response
What steps will reproduce the bug?
The following test passes on v20.12.2 but fails on v20.13.1 (and v20.13.0):
Of note, the
before
function is awaited. In v20.12, thebefore
properly blocks execution of tests until fully awaited. In v20.13, tests immediately begin executing, meaning the local variable is not set.and just for good measure, this does not exist in v22:
How often does it reproduce? Is there a required condition?
This happens 100% of the time.
What is the expected behavior? Why is that the expected behavior?
I expected TestRunner API stability between v20.12 and v20.13.
What do you see instead?
Tests that previously passed in v20.12 are failing in v20.13.
Additional information
#51909 looks suspicious, but I'm not an expert here.
The text was updated successfully, but these errors were encountered: