Skip to content

Commit

Permalink
Merge branch 'fix/missing-test-runner-binary-in-ci'
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Dec 12, 2023
2 parents df07bc4 + 0018bda commit 27adecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ if [[ $TARGET == x86_64-unknown-linux-gnu ]]; then
-v "${SCRIPT_DIR}/.container/cargo-registry":/root/.cargo/registry \
-v "${APP_DIR}":/src:Z \
-e CARGO_HOME=/root/.cargo/registry \
-e CARGO_TARGET_DIR=/src/test/target \
mullvadvpn-app-tests \
/bin/bash -c "cd /src/test/; cargo build --bin test-runner --release --target ${TARGET}"
else
Expand Down
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 27adecb

Please sign in to comment.