try with slient and longer wait between runs

pull/2060/head
amrbashir 7 months ago
parent e0da7a8b8d
commit 802e416a51
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33

@ -5,7 +5,7 @@
"endpoints": ["http://localhost:3007"], "endpoints": ["http://localhost:3007"],
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEUwNDRGMjkwRjg2MDhCRDAKUldUUWkyRDRrUEpFNEQ4SmdwcU5PaXl6R2ZRUUNvUnhIaVkwVUltV0NMaEx6VTkrWVhpT0ZqeEEK", "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEUwNDRGMjkwRjg2MDhCRDAKUldUUWkyRDRrUEpFNEQ4SmdwcU5PaXl6R2ZRUUNvUnhIaVkwVUltV0NMaEx6VTkrWVhpT0ZqeEEK",
"windows": { "windows": {
"installMode": "passive" "installMode": "quiet"
} }
} }
}, },

@ -161,7 +161,7 @@ fn test_update(app: &Path, update_bundle: PathBuf, signature: PathBuf, target: &
} }
// wait for the update to finish // 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 // run again
let status = app_cmd.status().expect("failed to run new app"); let status = app_cmd.status().expect("failed to run new app");
@ -281,8 +281,8 @@ fn app() {
#[test] #[test]
#[ignore] #[ignore]
fn it_updates() { fn it_updates() {
#[cfg(windows)] // #[cfg(windows)]
nsis(); // nsis();
// MSI test should be the last one // MSI test should be the last one
#[cfg(windows)] #[cfg(windows)]
msi(); msi();

Loading…
Cancel
Save