Skip to content
Snippets Groups Projects
Verified Commit 427aea25 authored by Burak Hançerli's avatar Burak Hançerli :headphones:
Browse files

fix: wait 60 secs to let emulator start before trying to install the app

parent 086fbaa7
No related branches found
No related tags found
1 merge request!82fix: update to the latest zxing commit on master
Pipeline #82206 passed
......@@ -50,14 +50,17 @@ test-android:
exit 1
fi
done
# let the emulator start
sleep 60;
fi
- cd ${QDS_CI_ARTIFACTS_PATH}/android/test || exit 1
- mkdir -p ${QDS_CI_JOB_TEST_RESULTS_PATH}
- |
while ! adb install -r -g android-build-release.apk; do
sleep 1
sleep 5
counter=$((counter+1))
if [[ $counter -gt 120 ]]; then
if [[ $counter -gt 10 ]]; then
echo "Can't install the APK to the device in time. Exiting."
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment