From 3fe1893336847398b199caaa04b4083d0e02712f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 9 Sep 2015 21:47:15 -0700 Subject: [PATCH] CI: 4.4 says it's ready before it actually is Its boot animation is "stopped" but on my laptop the CPU is still at 100%, which means it's probably still working and not ready yet. The tests fail if you run them right after wait-for-emulator is done. If you wait a few seconds though, they do work since the CPU load drops. Until we can figure out a better solution, have a generous 30-second sleep after it tells us it's ready. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 261fd2e6d..d16707a4e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,6 +44,7 @@ test: - emulator -force-32bit -avd fcl-test -no-skin -no-audio -no-window & - ./F-Droid/tools/wait-for-emulator - adb shell input keyevent 82 + - sleep 30 # 4.4 says it's ready before it actually is - echo " == Running Android tests on the 4.4.4 emulator" - ADB_INSTALL_TIMEOUT=8 gradle connectedCheck - echo " == Stopping Android 4.4.4 emulator"