Increase global timeout for long-running testcase.
In previous Android releases, CaptureRequestTest#testAeModeAndLock
had '@TimeoutReq(minutes = 40)' annotation. However it was removed in
Android N, and made the case fail on some devices.
This CL temporarily fixes the issue by increasing global timeout value
for all Camera testcases, but the right fix should be retrofitting
the code to use JUnit4.
Bug: 30422661
Change-Id: I22907c00b7d1ee25b7c2707133bc4c1f20ec1c24
diff --git a/tests/camera/AndroidTest.xml b/tests/camera/AndroidTest.xml
index b54e1a22..1358c34 100644
--- a/tests/camera/AndroidTest.xml
+++ b/tests/camera/AndroidTest.xml
@@ -21,7 +21,7 @@
<test class="com.android.tradefed.testtype.AndroidJUnitTest" >
<option name="package" value="android.camera.cts" />
<option name="runtime-hint" value="12m7s" />
- <!-- test-timeout unit is ms, value = 30 min -->
- <option name="test-timeout" value="1800000" />
+ <!-- test-timeout unit is ms, value = 40 min -->
+ <option name="test-timeout" value="2400000" />
</test>
</configuration>