Tools: Fix message rate setting in tests

This commit is contained in:
Stephen Dade 2024-09-25 13:12:00 +10:00 committed by Peter Barker
parent 9042e7de1a
commit dad98d99eb
1 changed files with 2 additions and 2 deletions

View File

@ -6413,8 +6413,8 @@ class TestSuite(ABC):
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)