gitlab-ci: run tests three times before marking whole job as failed
There are soo many of these: org.fdroid.fdroid.net.HttpDownloaderTest > downloadThenCancel[avd27(AVD) - 8.1.0] FAILED Test failed to run to completion. Reason: 'Instrumentation run failed due to 'Process crashed.''. Check device logcat for details
This commit is contained in:
		
							parent
							
								
									ad093d49e6
								
							
						
					
					
						commit
						306786c9e5
					
				@ -114,7 +114,10 @@ errorprone:
 | 
			
		||||
    - adb devices
 | 
			
		||||
    - adb shell input keyevent 82 &
 | 
			
		||||
    - test $AVD_SDK -ge 25 || export FLAG=-Pandroid.testInstrumentationRunnerArguments.notAnnotation=android.support.test.filters.LargeTest
 | 
			
		||||
    - ./gradlew connectedFullDebugAndroidTest $FLAG || (adb -e logcat -d > logcat.txt; exit 1)
 | 
			
		||||
    - ./gradlew connectedFullDebugAndroidTest $FLAG
 | 
			
		||||
      || ./gradlew connectedFullDebugAndroidTest $FLAG
 | 
			
		||||
      || ./gradlew connectedFullDebugAndroidTest $FLAG
 | 
			
		||||
      || (adb -e logcat -d > logcat.txt; exit 1)
 | 
			
		||||
 | 
			
		||||
connected 22 default armeabi-v7a:
 | 
			
		||||
  retry: 1
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user