Tools: rename SensorConfigErrorLoop test to ConfigErrorLoop

This commit is contained in:
Mark Whitehorn 2019-11-06 14:30:11 -07:00 committed by Peter Barker
parent f8d4cba667
commit 6b9c997a97
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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",