mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
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:
parent
174700b7ad
commit
fdb5b5e6d6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user