Skip to content

Commit

Permalink
Fix configure export test tear down (#5184)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yao-msft authored Feb 6, 2025
1 parent 71e3a17 commit 260779a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppInstallerCLIE2ETests/ConfigureExportCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ public void BaseSetup()
[OneTimeTearDown]
public void BaseTeardown()
{
TestCommon.RunAICLICommand("uninstall", "AppInstallerTest.TestPackageExport");
TestCommon.TearDownTestSource();
WinGetSettingsHelper.ConfigureFeature("configureExport", false);
TestCommon.RunAICLICommand("uninstall", "AppInstallerTest.TestPackageExport");
}

/// <summary>
Expand Down

0 comments on commit 260779a

Please sign in to comment.