diff --git a/test/windows/InstallerTests.cpp b/test/windows/InstallerTests.cpp index ce5b5dc..9b265f6 100644 --- a/test/windows/InstallerTests.cpp +++ b/test/windows/InstallerTests.cpp @@ -249,7 +249,9 @@ class InstallerTests try { - wsl::shared::retry::RetryWithTimeout(pred, std::chrono::seconds(1), std::chrono::minutes(2)); + // It is possible for the 'DeprovisionMsix' stage of the MSI installation to take a long time. + // On vb_release, up to 7 minutes have been observed. Wait for up to 20 minutes to be safe. + wsl::shared::retry::RetryWithTimeout(pred, std::chrono::seconds(1), std::chrono::minutes(20)); } catch (...) {