Skip to content

Commit

Permalink
Add more debug logging to test_upgrade_app
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Jan 7, 2025
1 parent ceabae3 commit bc535b9
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions test/test-manager/src/tests/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@ pub async fn test_upgrade_app(
_mullvad_client: MullvadClientArgument,
) -> anyhow::Result<()> {
// Install the older version of the app and verify that it is running.
install_app(
&rpc,
TEST_CONFIG
.app_package_to_upgrade_from_filename
.as_ref()
.unwrap(),
&ctx.rpc_provider,
)
.await
.context("Failed to install previous app version")?;
let old_version = TEST_CONFIG
.app_package_to_upgrade_from_filename
.as_ref()
.context("Could not find previous app version")?;
log::debug!("Installing app version {old_version}");
install_app(&rpc, old_version, &ctx.rpc_provider)
.await
.context("Failed to install previous app version")?;

// Verify that daemon is running
if rpc.mullvad_daemon_get_status().await? != ServiceStatus::Running {
Expand Down

0 comments on commit bc535b9

Please sign in to comment.