From 802e416a51bbb5780becb468fbbcc5813bc5e707 Mon Sep 17 00:00:00 2001 From: amrbashir Date: Sun, 17 Nov 2024 17:07:26 +0200 Subject: [PATCH] try with slient and longer wait between runs --- plugins/updater/tests/app-updater/tauri.conf.json | 2 +- plugins/updater/tests/app-updater/tests/update.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/updater/tests/app-updater/tauri.conf.json b/plugins/updater/tests/app-updater/tauri.conf.json index 47e40fb111..4fdf69a476 100644 --- a/plugins/updater/tests/app-updater/tauri.conf.json +++ b/plugins/updater/tests/app-updater/tauri.conf.json @@ -5,7 +5,7 @@ "endpoints": ["http://localhost:3007"], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEUwNDRGMjkwRjg2MDhCRDAKUldUUWkyRDRrUEpFNEQ4SmdwcU5PaXl6R2ZRUUNvUnhIaVkwVUltV0NMaEx6VTkrWVhpT0ZqeEEK", "windows": { - "installMode": "passive" + "installMode": "quiet" } } }, diff --git a/plugins/updater/tests/app-updater/tests/update.rs b/plugins/updater/tests/app-updater/tests/update.rs index 4e0e89166a..3587946bb9 100644 --- a/plugins/updater/tests/app-updater/tests/update.rs +++ b/plugins/updater/tests/app-updater/tests/update.rs @@ -161,7 +161,7 @@ fn test_update(app: &Path, update_bundle: PathBuf, signature: PathBuf, target: & } // wait for the update to finish - std::thread::sleep(std::time::Duration::from_secs(10)); + std::thread::sleep(std::time::Duration::from_secs(20)); // run again let status = app_cmd.status().expect("failed to run new app"); @@ -281,8 +281,8 @@ fn app() { #[test] #[ignore] fn it_updates() { - #[cfg(windows)] - nsis(); + // #[cfg(windows)] + // nsis(); // MSI test should be the last one #[cfg(windows)] msi();