aboutsummaryrefslogtreecommitdiff
path: root/src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs')
-rw-r--r--src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs b/src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs
index f7ec8647..b822bdfa 100644
--- a/src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs
+++ b/src/test/burn/WixToolsetTest.BurnE2E/UpdateBundleTests.cs
@@ -224,8 +224,14 @@ namespace WixToolsetTest.BurnE2E
224 // Run the v1 bundle requesting an update bundle. 224 // Run the v1 bundle requesting an update bundle.
225 bundleBv1.Modify(arguments: "-checkupdate"); 225 bundleBv1.Modify(arguments: "-checkupdate");
226 226
227 // The modify -> update is asynchronous, so we need to wait until the real BundleB is done 227 // The modify -> update is asynchronous, so we need to wait until all the bundles are done.
228 var childBundles = Process.GetProcessesByName(Path.GetFileNameWithoutExtension(bundleBv2.Bundle)); 228 var childBundles = Process.GetProcessesByName(Path.GetFileNameWithoutExtension(bundleBv1.Bundle));
229 foreach (var childBundle in childBundles)
230 {
231 childBundle.WaitForExit();
232 }
233
234 childBundles = Process.GetProcessesByName(Path.GetFileNameWithoutExtension(bundleBv2.Bundle));
229 foreach (var childBundle in childBundles) 235 foreach (var childBundle in childBundles)
230 { 236 {
231 childBundle.WaitForExit(); 237 childBundle.WaitForExit();