autotest: attempt to make parameter download more reliable

something is stopping parameters from being fetched.  Give it time to
clear.
This commit is contained in:
Peter Barker 2020-05-29 22:48:12 +10:00 committed by Peter Barker
parent e7d98648e6
commit c474edbfbc

View File

@ -5217,6 +5217,7 @@ switch value'''
(str(count), str(expected_count), len(seen_ids.keys())))
elif attempt_count != 0:
self.progress("Download failed; retrying")
self.delay_sim_time(1)
self.drain_mav()
self.mav.mav.param_request_list_send(target_system, target_component)
attempt_count += 1