| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2018 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <!-- Test configuration for longevity runs. --> |
| <configuration description="Test configuration for longevity runs."> |
| <test class="com.android.tradefed.testtype.AndroidJUnitTest" > |
| <!-- Test run setup and configuration. --> |
| <option name="package" value="android.longevity.platform" /> |
| <option name="class" value="android.longevity.platform.PhoneSuite" /> |
| <option name="instrumentation-arg" key="iterations" value="100" /> |
| <option name="instrumentation-arg" key="shuffle" value="true" /> |
| |
| <!-- Timeout configurations. Test: 5m. Suite: 10h. Battery: 5%. --> |
| <option name="instrumentation-arg" key="timeout_msec" value="300000" /> |
| <option name="instrumentation-arg" key="suite-timeout_msec" value="36000000" /> |
| <option name="instrumentation-arg" key="min-battery" value="0.05" /> |
| |
| <!-- Override or negate instrumentation defaults. --> |
| <option name="shell-timeout" value="0" /> |
| <option name="test-timeout" value="0" /> |
| </test> |
| </configuration> |