CI: on mavros failure restart it instead of killing test

This commit is contained in:
Anthony Lamping
2018-03-31 08:24:09 -04:00
committed by Daniel Agar
parent 0af1c71255
commit 171a65c1cb
5 changed files with 5 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
<arg name="vehicle" value="$(arg vehicle)"/> <arg name="vehicle" value="$(arg vehicle)"/>
<arg name="est" value="$(arg est)"/> <arg name="est" value="$(arg est)"/>
<arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/> <arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/>
<arg name="respawn_mavros" value="true"/>
</include> </include>
<!-- ROStest --> <!-- ROStest -->
<test test-name="$(arg mission)" pkg="px4" type="mission_test.py" time-limit="300.0" args="$(arg mission).plan"/> <test test-name="$(arg mission)" pkg="px4" type="mission_test.py" time-limit="300.0" args="$(arg mission).plan"/>

View File

@@ -11,6 +11,7 @@
<arg name="vehicle" value="iris_opt_flow"/> <arg name="vehicle" value="iris_opt_flow"/>
<arg name="est" value="$(arg est)"/> <arg name="est" value="$(arg est)"/>
<arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/> <arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/>
<arg name="respawn_mavros" value="true"/>
</include> </include>
<!-- ROStest --> <!-- ROStest -->
<test test-name="mavros_flow_offboard_posctl_test" pkg="px4" type="mavros_offboard_posctl_test.py" time-limit="300.0"/> <test test-name="mavros_flow_offboard_posctl_test" pkg="px4" type="mavros_offboard_posctl_test.py" time-limit="300.0"/>

View File

@@ -11,6 +11,7 @@
<arg name="vehicle" value="standard_vtol"/> <arg name="vehicle" value="standard_vtol"/>
<arg name="est" value="$(arg est)"/> <arg name="est" value="$(arg est)"/>
<arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/> <arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/>
<arg name="respawn_mavros" value="true"/>
</include> </include>
<!-- ROStest --> <!-- ROStest -->
<test test-name="multicopter_box" pkg="px4" type="mission_test.py" time-limit="300.0" args="multirotor_box.plan"/> <test test-name="multicopter_box" pkg="px4" type="mission_test.py" time-limit="300.0" args="multirotor_box.plan"/>

View File

@@ -11,6 +11,7 @@
<arg name="vehicle" value="iris"/> <arg name="vehicle" value="iris"/>
<arg name="est" value="$(arg est)"/> <arg name="est" value="$(arg est)"/>
<arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/> <arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/>
<arg name="respawn_mavros" value="true"/>
</include> </include>
<!-- ROStest --> <!-- ROStest -->
<test test-name="mavros_offboard_attctl_test" pkg="px4" type="mavros_offboard_attctl_test.py" time-limit="300.0"/> <test test-name="mavros_offboard_attctl_test" pkg="px4" type="mavros_offboard_attctl_test.py" time-limit="300.0"/>

View File

@@ -11,6 +11,7 @@
<arg name="vehicle" value="iris"/> <arg name="vehicle" value="iris"/>
<arg name="est" value="$(arg est)"/> <arg name="est" value="$(arg est)"/>
<arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/> <arg name="respawn_gazebo" value="$(arg respawn_gazebo)"/>
<arg name="respawn_mavros" value="true"/>
</include> </include>
<!-- ROStest --> <!-- ROStest -->
<test test-name="mavros_offboard_posctl_test" pkg="px4" type="mavros_offboard_posctl_test.py" time-limit="300.0"/> <test test-name="mavros_offboard_posctl_test" pkg="px4" type="mavros_offboard_posctl_test.py" time-limit="300.0"/>