Skip to content

Commit

Permalink
add wipe data and increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
greenEkatherine committed Mar 3, 2021
1 parent de6bfd9 commit 151398a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ fun loadFirstCrossword() {
waitForCondition("", { isKeyboardShown() })
}

fun waitForCondition(reason: String, condition: Callable<Boolean>, timeout: Long = 10000) {
fun waitForCondition(reason: String, condition: Callable<Boolean>, timeout: Long = 30000) {
val end = System.currentTimeMillis() + timeout

try {
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
$ANDROID_HOME/emulator/emulator -accel-check
nohup $ANDROID_HOME/emulator/emulator -avd xamarin_android_emulator -no-window -skin 1080x1920 -no-snapshot -no-audio -no-boot-anim -accel on > /dev/null 2>&1 &
nohup $ANDROID_HOME/emulator/emulator -avd xamarin_android_emulator -wipe-data -no-window -skin 1080x1920 -no-snapshot -no-audio -no-boot-anim -accel on > /dev/null 2>&1 &
$ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done; input keyevent 82'
$ANDROID_HOME/platform-tools/adb devices
Expand Down

0 comments on commit 151398a

Please sign in to comment.