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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't shadow runUnitTests #33692

Merged

Conversation

RyanCavanaugh
Copy link
Member

Elsewhere in the same scope as this declaration we were saying

if (runUnitTests) {

while trying to refer to the outer global runUnitTests, not the always-truthy local declaration. This caused the unit tests to be unconditionally run on each worker thread 馃槶.

Caught by #33178 cc @jwbay !

@RyanCavanaugh RyanCavanaugh merged commit 6b63c1b into microsoft:master Oct 1, 2019
@RyanCavanaugh RyanCavanaugh deleted the stopShadowingRunUnitTests branch October 1, 2019 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants