Commit 7163945
committed
fix: Add timeout and cleanup for hanging emulator processes
- Add 30-minute timeout to instrumented tests to prevent indefinite hanging
- Add forced cleanup of emulator/qemu processes after test completion
- Add coverage file existence check before Codecov upload
- Make coverage upload conditional on file existence
- Use 'if: always()' for cleanup to ensure it runs even on timeout/failure
Fixes issue where API level 29 emulator hangs during termination process,
causing CI jobs to run indefinitely. The tests complete successfully but
emulator shutdown gets stuck with 'stop: Not implemented' errors.1 parent 4a8cf5c commit 7163945
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
159 | 177 | | |
| 178 | + | |
160 | 179 | | |
161 | 180 | | |
162 | 181 | | |
| |||
0 commit comments