diff --git a/Tools/autotest/vehicle_test_suite.py b/Tools/autotest/vehicle_test_suite.py index 20a827ad65e2c8..3e8594968f3f7a 100644 --- a/Tools/autotest/vehicle_test_suite.py +++ b/Tools/autotest/vehicle_test_suite.py @@ -6413,8 +6413,8 @@ def context_pop(self, process_interaction_allowed=True, hooks_already_removed=Fa self.remove_message_hook(hook) for script in dead.installed_scripts: self.remove_installed_script(script) - for (message_id, interval_us) in dead.overridden_message_rates.items(): - self.set_message_interval(message_id, interval_us) + for (message_id, rate_hz) in dead.overridden_message_rates.items(): + self.set_message_rate_hz(message_id, rate_hz) for module in dead.installed_modules: print("Removing module (%s)" % module) self.remove_installed_modules(module)