autotest: correct dataflash transfer test for long periods

This came in with a 35 second delay, which is rather spectacular given
the 5 second loop it is in.

2021-01-11T11:54:30.3046835Z dataflash_logger status
2021-01-11T11:54:30.3047406Z MANUAL> DFLogger: Active Rate(35s):408.788kB/s Block:65034 Missing:0 Fixed:0 Abandoned:0
2021-01-11T11:54:30.3048195Z Timed out looking for Active Rate\([0-9]s\):([0-9]+[.][0-9]+)
2021-01-11T11:54:30.3048801Z AT-0472.3: Exception caught: 60
This commit is contained in:
Peter Barker 2021-01-12 09:07:28 +11:00 committed by Peter Barker
parent 174700b7ad
commit fdb5b5e6d6

View File

@ -6040,7 +6040,7 @@ Also, ignores heartbeats not from our target system'''
last_status = now
self.mavproxy.send('dataflash_logger status\n')
# seen on autotest: Active Rate(3s):97.790kB/s Block:164 Missing:0 Fixed:0 Abandoned:0
self.mavproxy.expect("Active Rate\([0-9]s\):([0-9]+[.][0-9]+)")
self.mavproxy.expect("Active Rate\([0-9]+s\):([0-9]+[.][0-9]+)")
rate = float(self.mavproxy.match.group(1))
self.progress("Rate: %f" % rate)
if rate < 50: