summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2024-12-17 07:56:19 +0100
committerMarkus Pettersson <markus.pettersson@mullvad.net>2025-01-07 11:44:52 +0100
commit4bfed4546cb572d5d7735e4627f661bcea723b27 (patch)
tree0fb088a31c4b7cc58a005d950f4147746bb8d605
parent8ea79b0fe815d1800b3a2ceaf46fe186c29791ec (diff)
downloadmullvadvpn-4bfed4546cb572d5d7735e4627f661bcea723b27.tar.xz
mullvadvpn-4bfed4546cb572d5d7735e4627f661bcea723b27.zip
Add more debug logging to test_upgrade_app
-rw-r--r--test/test-manager/src/tests/install.rs18
1 files changed, 8 insertions, 10 deletions
diff --git a/test/test-manager/src/tests/install.rs b/test/test-manager/src/tests/install.rs
index ee4062ae89..9283e4e211 100644
--- a/test/test-manager/src/tests/install.rs
+++ b/test/test-manager/src/tests/install.rs
@@ -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 {