thermal_load¶
Source code: thermal_load.py
Tests thermal response under load.
Description¶
Tests that under given load:
Temperatures don’t go over temperature_limit before heat up.
Temperatures go over lower_threshold within heat_up_timeout_secs.
Temperatures don’t go over temperature_limit throughout the entire test.
Test Procedure¶
This is an automated test without user interaction.
Dependency¶
Device API
cros.factory.device.thermal
.
Examples¶
To use the test:
{
"pytest_name": "thermal_load",
"args": {
"lower_threshold": 40,
"temperature_limit": 100,
"heat_up_timeout_secs": 12,
"duration_secs": 15
}
}
Test Arguments¶
Name |
Type |
Description |
---|---|---|
load |
int, None |
(optional; default: |
heat_up_timeout_secs |
int |
(optional; default: |
duration_secs |
int |
(optional; default: |
lower_threshold |
int, list |
(optional; default: |
temperature_limit |
int, list |
(optional; default: |
sensors |
str, list, None |
(optional; default: |
temperatures_difference |
int, None |
(optional; default: |