autotest: comment out probably-defunct test

This commit is contained in:
Peter Barker 2021-11-30 15:14:17 +11:00 committed by Andrew Tridgell
parent 8a95a7d80d
commit b75f8211d2
1 changed files with 18 additions and 18 deletions

View File

@ -4238,24 +4238,24 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
# this is expected to fail as we don't return the closing # this is expected to fail as we don't return the closing
# point correctly until the first is uploaded # point correctly until the first is uploaded
self.progress("try closing point first") # self.progress("try closing point first")
failed = False # failed = False
try: # try:
self.roundtrip_fence_using_fencepoint_protocol([ # self.roundtrip_fence_using_fencepoint_protocol([
self.offset_location_ne(here, 0, 0), # bl // return point # self.offset_location_ne(here, 0, 0), # bl // return point
self.offset_location_ne(here, -50, 20), # bl # self.offset_location_ne(here, -50, 20), # bl
self.offset_location_ne(here, 50, 20), # br # self.offset_location_ne(here, 50, 20), # br
self.offset_location_ne(here, 50, 40), # tr # self.offset_location_ne(here, 50, 40), # tr
self.offset_location_ne(here, -50, 40), # tl, # self.offset_location_ne(here, -50, 40), # tl,
self.offset_location_ne(here, -50, 20), # closing point # self.offset_location_ne(here, -50, 20), # closing point
], ordering=[5, 0, 1, 2, 3, 4]) # ], ordering=[5, 0, 1, 2, 3, 4])
except NotAchievedException as e: # except NotAchievedException as e:
failed = "got=0.000000 want=" in str(e) # failed = "got=0.000000 want=" in str(e)
if not failed: # if not failed:
raise NotAchievedException("Expected failure, did not get it") # raise NotAchievedException("Expected failure, did not get it")
self.clear_mission(mavutil.mavlink.MAV_MISSION_TYPE_FENCE, # self.clear_mission(mavutil.mavlink.MAV_MISSION_TYPE_FENCE,
target_system=target_system, # target_system=target_system,
target_component=target_component) # target_component=target_component)
self.progress("try (almost) reverse order") self.progress("try (almost) reverse order")
self.roundtrip_fence_using_fencepoint_protocol([ self.roundtrip_fence_using_fencepoint_protocol([