From 8d38ea7954d4ebcef61b298fd4e0772ccda94312 Mon Sep 17 00:00:00 2001 From: Bryan Oltman Date: Mon, 29 Apr 2024 11:17:03 -0400 Subject: [PATCH] test: properly stop app in patch e2e test --- scripts/patch_e2e.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/patch_e2e.sh b/scripts/patch_e2e.sh index 30f3d6b4..1214bc85 100755 --- a/scripts/patch_e2e.sh +++ b/scripts/patch_e2e.sh @@ -57,7 +57,8 @@ shorebird patch android -v # Run the app on Android and ensure that the original print statement is printed. while IFS= read line; do if [[ "$line" == *"Patch 1 successfully installed"* ]]; then - adb kill-server + # Kill the app so we can boot the patch + adb shell am force-stop com.example.e2e_test echo "✅ Patch 1 successfully installed" break fi