[release/v7.6] Fix $PSDefaultParameterValues leak causing tests to skip unexpectedly by daxian-dbw · Pull Request #26705 · PowerShell/PowerShell
…PowerShell#26602) This fixes test isolation issues where six test files were leaking $PSDefaultParameterValues["It:Skip"] settings to subsequent tests, causing widespread test skipping on Linux. The fixes address two distinct patterns: using .Remove() which doesn't restore the original state (4 files), and imbalanced Push-DefaultParameterValueStack/Pop-DefaultParameterValueStack calls (2 files).
AI review requested due to automatic review settings
January 20, 2026 22:23
daxian-dbw
added
the
CL-Test
label
Jan 20, 2026
daxian-dbw
deleted the
backport/release/v7.6/26602-2e7765eef
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters