Skip to content

Commit

Permalink
Fix stop_app RPC for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Dec 12, 2023
1 parent 7f53305 commit 0018bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-runner/src/sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ pub async fn stop_app() -> Result<(), test_rpc::Error> {
/// This function waits for the app to successfully start again.
#[cfg(target_os = "macos")]
pub async fn start_app() -> Result<(), test_rpc::Error> {
set_launch_daemon_state(false).await?;
set_launch_daemon_state(true).await?;
tokio::time::sleep(std::time::Duration::from_millis(1000)).await;
Ok(())
}
Expand Down

0 comments on commit 0018bda

Please sign in to comment.