winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 260779a85bb1fe123a3d6db066a94c5f3186b86c
parent 71e3a17dccd51bc36067eed1fa71c772e1e72de5
Author: yao-msft <50888816+yao-msft@users.noreply.github.com>
Date:   Wed,  5 Feb 2025 19:49:38 -0800

Fix configure export test tear down (#5184)

When I was reviewing the pipeline runs, I always saw configure export
test tear down time out when uninstalling the test package. Then I
realized the test source was reset before we call uninstall and causing
the package to be not found.

Diffstat:
Msrc/AppInstallerCLIE2ETests/ConfigureExportCommand.cs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/AppInstallerCLIE2ETests/ConfigureExportCommand.cs b/src/AppInstallerCLIE2ETests/ConfigureExportCommand.cs @@ -37,9 +37,9 @@ namespace AppInstallerCLIE2ETests [OneTimeTearDown] public void BaseTeardown() { + TestCommon.RunAICLICommand("uninstall", "AppInstallerTest.TestPackageExport"); TestCommon.TearDownTestSource(); WinGetSettingsHelper.ConfigureFeature("configureExport", false); - TestCommon.RunAICLICommand("uninstall", "AppInstallerTest.TestPackageExport"); } /// <summary>