Skip to content

Commit

Permalink
try with slient and longer wait between runs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Nov 17, 2024
1 parent e0da7a8 commit 802e416
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/updater/tests/app-updater/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"endpoints": ["http://localhost:3007"],
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEUwNDRGMjkwRjg2MDhCRDAKUldUUWkyRDRrUEpFNEQ4SmdwcU5PaXl6R2ZRUUNvUnhIaVkwVUltV0NMaEx6VTkrWVhpT0ZqeEEK",
"windows": {
"installMode": "passive"
"installMode": "quiet"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions plugins/updater/tests/app-updater/tests/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 802e416

Please sign in to comment.