diff --git a/.github/workflows/android_test.yml b/.github/workflows/android_test.yml index 0200cad..74a8c2d 100644 --- a/.github/workflows/android_test.yml +++ b/.github/workflows/android_test.yml @@ -69,11 +69,13 @@ jobs: - name: run android tests uses: reactivecircus/android-emulator-runner@v2 + env: + ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL: 60 with: api-level: ${{ matrix.api-level }} target: ${{ matrix.target }} arch: ${{ matrix.arch }} disable-animations: true force-avd-creation: false - emulator-options: -no-snapshot-save -no-window -no-boot-anim -camera-back emulated -camera-front emulated -gpu swiftshader_indirect + emulator-options: -no-snapshot-save -no-window -no-boot-anim -no-metrics -camera-back emulated -camera-front emulated -gpu swiftshader_indirect script: ./gradlew connectedAndroidTest --stacktrace diff --git a/camposer/src/androidTest/java/com/ujizin/camposer/ExposureCompensationTest.kt b/camposer/src/androidTest/java/com/ujizin/camposer/ExposureCompensationTest.kt index 00e3b16..f797a5f 100644 --- a/camposer/src/androidTest/java/com/ujizin/camposer/ExposureCompensationTest.kt +++ b/camposer/src/androidTest/java/com/ujizin/camposer/ExposureCompensationTest.kt @@ -73,4 +73,4 @@ internal class ExposureCompensationTest: CameraTest() { exposureCompensation = exposureCompensation.value ) } -} \ No newline at end of file +}