ardupilot/Tools/autotest
Peter Barker 77e5236278 autotest: drain mavlink queue to avoid failing on slow MISSION_COUNT
It was observed from a log of a failed CI test that the ACK from
clearing the rally items took 6 wallclock seconds to arrive.

We were not waiting for that ACK to arrive before sending the request
for the mission item count, but if it has taken more than six seconds
for the ACK to arrive it is reasonable to assume that MISSION_COUNT
could very well take more than the 10 seconds we allow for it.

If we drain the mav before sending the request for the mission count we
should remove any signficiant timing problem due to a backlog of mavlnk
messages, but the amount of traffic here is problematic.

Also drain in lots of other places where we might be spending way too
long parsing messages.
2020-06-11 20:53:50 +10:00
..
aircraft Tools: added TugGoat's modifications to the Rascal JSBSim model 2018-12-18 13:06:03 +11:00
ArduCopter_Tests Tools: update path for copter test missions files 2020-04-09 09:01:03 +10:00
ArduPlane_Tests autotest: Move soaring test into plane. 2020-04-19 11:09:16 +10:00
ArduRover_Tests Tools: update path for rover test missions files 2020-04-09 09:01:03 +10:00
ArduSub_Tests Tools: update path for sub test missions files 2020-04-09 09:01:03 +10:00
default_params Tools: update tradheli sitl default param file 2020-04-28 10:45:33 +10:00
Generic_Missions Tools: added generic copter CMAC mission 2020-05-09 12:33:33 +10:00
jsb_sim Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
logger_metadata Tools: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
param_metadata Tools: param.py add MB 2020-06-09 09:23:25 +10:00
pysim autotest: fix autotest on mac os x 2020-05-17 16:12:43 +10:00
template Tools: Implement better Scrimmage support 2020-04-28 11:09:51 +10:00
web Tools: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
web-firmware Tools: use https:// scheme for ardupilot URLs 2019-12-10 07:53:46 +11:00
win_sitl Tools: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
XPlane autotest: An X-Plane soaring mission file 2017-04-08 20:01:33 +10:00
__init__.py Tools: update python coding style 2016-09-01 13:05:11 +10:00
antennatracker.py Tools: update path for antenna tracker test missions files 2020-04-09 09:01:03 +10:00
arducopter.py autotest: we need more than 1500 throttle for SimpleMode test 2020-06-05 11:35:53 +10:00
arduplane.py autotest: assert that Plane doesn't support fence-via-mission-item-protocol 2020-06-02 19:00:32 +10:00
ardusub.py autotest: add tests for log download 2020-05-26 19:32:49 +10:00
autotest.py autotest: move check_logs to be an AutoTest-class function 2020-06-04 20:15:31 +10:00
balancebot.py autotest: add tests for log download 2020-05-26 19:32:49 +10:00
bisect-helper.py Tools: add bisect-helper.py 2018-03-09 10:38:48 +11:00
build-with-disabled-features.py Tools: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
common.py autotest: drain mavlink queue to avoid failing on slow MISSION_COUNT 2020-06-11 20:53:50 +10:00
examples.py autotest: explicitly run hello-world test and check for string 2020-05-28 13:49:47 +10:00
fakepos.py Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
fg_plane_view.bat autotest: make bat files work with multiple versions of flightgear 2016-07-14 12:50:27 +10:00
fg_plane_view.sh autotest: fixed fg_plane_view.sh 2016-01-04 07:58:54 +11:00
fg_quad_view.bat autotest: make bat files work with multiple versions of flightgear 2016-07-14 12:50:27 +10:00
fg_quad_view.sh autotest: fixed fg_quad_view for new FlightGear versions 2016-01-04 14:31:21 +11:00
junit.xml auto est: modular tests and unit testing with Junit.xml output for jenkins 2012-07-05 23:48:50 -07:00
locations.txt Tools:autotest: add AAMWestField location 2020-04-20 10:08:17 +09:00
quadplane.py autotest: add tests for log download 2020-05-26 19:32:49 +10:00
README First version of APM autotest 2011-10-31 13:50:34 +11:00
rover.py autotest: drain mavlink queue to avoid failing on slow MISSION_COUNT 2020-06-11 20:53:50 +10:00
run_in_terminal_window.sh Tools: correct quoting in run_in_terminal_window.sh 2018-03-15 07:40:23 +09:00
sim_vehicle.py Tools: Expose more options to SCRIMMAGE 2020-05-21 08:04:23 +10:00
swarminit.txt Autotest: Create swarminit.txt 2019-01-18 10:16:18 +11:00

This is an automated test suite for APM