From 6b9c997a97aa84ff6db74094ae5f79a64b95b173 Mon Sep 17 00:00:00 2001 From: Mark Whitehorn Date: Wed, 6 Nov 2019 14:30:11 -0700 Subject: [PATCH] Tools: rename SensorConfigErrorLoop test to ConfigErrorLoop --- Tools/autotest/ardusub.py | 2 +- Tools/autotest/common.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Tools/autotest/ardusub.py b/Tools/autotest/ardusub.py index 9b184e82aa..6a6d110145 100644 --- a/Tools/autotest/ardusub.py +++ b/Tools/autotest/ardusub.py @@ -254,7 +254,7 @@ class AutoTestSub(AutoTest): def disabled_tests(self): ret = super(AutoTestSub, self).disabled_tests() ret.update({ - "SensorConfigErrorLoop": "Sub does not instantiate AP_Stats. Also see https://github.com/ArduPilot/ardupilot/issues/10247", + "ConfigErrorLoop": "Sub does not instantiate AP_Stats. Also see https://github.com/ArduPilot/ardupilot/issues/10247", }) return ret diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index 6ab8d04723..999b97cc09 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -3147,7 +3147,7 @@ class AutoTest(ABC): raise NotAchievedException("Failed to clear mission") self.last_wp_load = time.time() - def test_sensor_config_error_loop(self): + def test_config_error_loop(self): '''test the sensor config error loop works and that parameter sets are persistent''' parameter_name = "SERVO8_MIN" old_parameter_value = self.get_parameter(parameter_name) @@ -3164,8 +3164,8 @@ class AutoTest(ABC): self.disarm_vehicle(force=True) self.reboot_sitl(required_bootcount=1); - self.progress("Waiting for 'Check BRD_TYPE'") - self.mavproxy.expect("Check BRD_TYPE"); + self.progress("Waiting for 'Config error'") + self.mavproxy.expect("Config error"); self.progress("Setting %s to %f" % (parameter_name, new_parameter_value)) self.set_parameter(parameter_name, new_parameter_value) except Exception as e: @@ -3611,9 +3611,9 @@ switch value''' "Test Set Home", self.fly_test_set_home), - ("SensorConfigErrorLoop", - "Test Sensor Config Error Loop", - self.test_sensor_config_error_loop), + ("ConfigErrorLoop", + "Test Config Error Loop", + self.test_config_error_loop), ("Parameters", "Test Parameter Set/Get",