Skip to content

Commit

Permalink
Retry 3 times when running instrumentation tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjudd committed Nov 2, 2017
1 parent 2371aa6 commit b56dbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/travis_instrumentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ echo "Starting emulator for $COMPONENT tests"
echo "Waiting for emulator..."
android-wait-for-emulator

./gradlew :instrumentation:connectedDebugAndroidTest
for i in {1..3}; do ./gradlew :instrumentation:connectedDebugAndroidTest && break; done

0 comments on commit b56dbd9

Please sign in to comment.