test: properly stop app in patch e2e test

This commit is contained in:
Bryan Oltman
2024-04-29 11:17:03 -04:00
parent 1050ecab4c
commit 8d38ea7954
+2 -1
View File
@@ -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