power_manager_integration_test_lib

Function test_thermal_reboot

Source
pub async fn test_thermal_reboot(
    env: TestEnv,
    sensor_path: &str,
    temperature: f32,
)
Expand description

Tests that Power Manager triggers a thermal reboot if the temperature sensor at the given path reaches the provided temperature. The provided TestEnv is consumed because Power Manager triggers a reboot.