Skip to content

Commit 9ab5614

Browse files
authored
Wait briefly before starting to poll the emulator in android-emulator-tests.sh
1 parent a175884 commit 9ab5614

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/scripts/android/android-emulator-tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ log "Starting Android emulator"
9595
# launch the emulator in the background
9696
nohup emulator -no-metrics -partition-size 1024 -memory 4096 -wipe-data -no-window -no-snapshot -noaudio -no-boot-anim -avd "${ANDROID_EMULATOR_NAME}" &
9797

98+
# wait briefly before starting to poll the emulator
99+
sleep 20
100+
98101
log "Waiting for Android emulator startup"
99102
timeout "${ANDROID_EMULATOR_TIMEOUT}" adb wait-for-any-device
100103

0 commit comments

Comments
 (0)