diff --git a/src/AppInstallerCLIE2ETests/InprocTestbedTests.cs b/src/AppInstallerCLIE2ETests/InprocTestbedTests.cs index c414474f86..c6bb2f7601 100644 --- a/src/AppInstallerCLIE2ETests/InprocTestbedTests.cs +++ b/src/AppInstallerCLIE2ETests/InprocTestbedTests.cs @@ -122,6 +122,7 @@ public void CLSID_Tests(bool leakCOM, UnloadBehavior unloadBehavior, int? workTe /// Control whether the C++/WinRT factory cache will be cleared between iterations. /// Control whether COM should be uninitialized at the end of the process. /// Set the unload behavior for the test. + /// Sets the number of milliseconds to sleep between each work/test iteration. [Test] [TestCase(false, false, UnloadBehavior.AtUninitialize)] [TestCase(false, false, UnloadBehavior.Never)] @@ -129,9 +130,9 @@ public void CLSID_Tests(bool leakCOM, UnloadBehavior unloadBehavior, int? workTe [TestCase(false, true, UnloadBehavior.Never)] [TestCase(true, false, UnloadBehavior.AtUninitialize)] [TestCase(true, false, UnloadBehavior.Never)] - [TestCase(true, true, UnloadBehavior.Allow)] + [TestCase(true, true, UnloadBehavior.Allow, 1000)] [TestCase(true, true, UnloadBehavior.Never)] - public void TypeName_Tests(bool freeCachedFactories, bool leakCOM, UnloadBehavior unloadBehavior) + public void TypeName_Tests(bool freeCachedFactories, bool leakCOM, UnloadBehavior unloadBehavior, int? workTestSleep = null) { this.RunInprocTestbed(new TestbedParameters() { @@ -140,6 +141,7 @@ public void TypeName_Tests(bool freeCachedFactories, bool leakCOM, UnloadBehavio LeakCOM = leakCOM, UnloadBehavior = unloadBehavior, Iterations = 10, + WorkTestSleepInterval = workTestSleep, }); }