Skip to content

Commit 2e0e6fe

Browse files
committed
ci: add timeout to avd
1 parent 0d6904e commit 2e0e6fe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/android_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,13 @@ jobs:
6969

7070
- name: run android tests
7171
uses: reactivecircus/android-emulator-runner@v2
72+
env:
73+
ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL: 60
7274
with:
7375
api-level: ${{ matrix.api-level }}
7476
target: ${{ matrix.target }}
7577
arch: ${{ matrix.arch }}
7678
disable-animations: true
7779
force-avd-creation: false
78-
emulator-options: -no-snapshot-save -no-window -no-boot-anim -camera-back emulated -camera-front emulated -gpu swiftshader_indirect
80+
emulator-options: -no-snapshot-save -no-window -no-boot-anim -no-metrics -camera-back emulated -camera-front emulated -gpu swiftshader_indirect
7981
script: ./gradlew connectedAndroidTest --stacktrace

camposer/src/androidTest/java/com/ujizin/camposer/ExposureCompensationTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ internal class ExposureCompensationTest: CameraTest() {
7373
exposureCompensation = exposureCompensation.value
7474
)
7575
}
76-
}
76+
}

0 commit comments

Comments
 (0)