mavsdk_tests: adjust px4 and gzserver priority relative to mavsdk_test

- this is to avoid starving the test runner
This commit is contained in:
Daniel Agar 2020-11-16 10:33:04 -05:00
parent 22fbcf98cf
commit f5660c6b0c
1 changed files with 3 additions and 2 deletions

View File

@ -203,8 +203,9 @@ class GzserverRunner(Runner):
self.env["GAZEBO_MODEL_PATH"] = \
workspace_dir + "/Tools/sitl_gazebo/models"
self.env["PX4_SIM_SPEED_FACTOR"] = str(speed_factor)
self.cmd = "gzserver"
self.args = ["--verbose",
self.cmd = "nice"
self.args = ["-n 1",
"gzserver", "--verbose",
workspace_dir + "/Tools/sitl_gazebo/worlds/" +
"empty.world"]