echopen / PRJ-medtec_androidapp

Code and issue about EchOpen display -- now on, #Android -- Perhaps some duplication with http://echopen.org/
BSD 3-Clause "New" or "Revised" License
49 stars 43 forks source link

test suite failing with gradlew #23

Open benchoufi opened 7 years ago

benchoufi commented 7 years ago

On Android Studio, the tests suit runs well. But when, launching it on TravisCI, I had issues as documenteed below. So that, I ran on my local machine ./gradlew clean build connectedCheck, and I get this

`com.echopen.asso.echopen.MainActivityTest > testBareMainViewsExists[Galaxy_Nexus_API_22(AVD) - 5.1] FAILED android.support.test.espresso.AppNotIdleException: Looped for 56 iterations over 60 SECONDS. The following Idle Conditions failed ASYNC_TASKS_HAVE_IDLED. at dalvik.system.VMStack.getThreadStackTrace(Native Method)

com.echopen.asso.echopen.MainActivityTest > testLayoutBackgroundColor[Galaxy_Nexus_API_22(AVD) - 5.1] FAILED android.support.test.espresso.AppNotIdleException: Looped for 30 iterations over 60 SECONDS. The following Idle Conditions failed ASYNC_TASKS_HAVE_IDLED. at dalvik.system.VMStack.getThreadStackTrace(Native Method)

com.echopen.asso.echopen.MainActivityTest > testMainViewsExists[Galaxy_Nexus_API_22(AVD) - 5.1] FAILED android.support.test.espresso.AppNotIdleException: Looped for 38 iterations over 60 SECONDS. The following Idle Conditions failed ASYNC_TASKS_HAVE_IDLED. at dalvik.system.VMStack.getThreadStackTrace(Native Method)

com.echopen.asso.echopen.MainActivityTest > testMeasureTextViewIsVisible[Galaxy_Nexus_API_22(AVD) - 5.1] FAILED android.support.test.espresso.AppNotIdleException: Looped for 43 iterations over 60 SECONDS. The following Idle Conditions failed ASYNC_TASKS_HAVE_IDLED. at dalvik.system.VMStack.getThreadStackTrace(Native Method) :app:connectedDebugAndroidTest FAILED`

Anyone gets an idea ?