forked from Archive/PX4-Autopilot
mavsdk_tests: don't stall mavsdk_tests binary
This is an attempt to fix the test failure where PX4 detects an RC timeout presumably because the tester process mavsdk_tests is stalled and does not send RC control messages in time.
This commit is contained in:
parent
952cfe2fd7
commit
dd6fb58f82
|
@ -336,8 +336,12 @@ class TestRunner(Runner):
|
|||
super().__init__(log_dir, model, case, verbose)
|
||||
self.name = "mavsdk_tests"
|
||||
self.cwd = workspace_dir
|
||||
self.cmd = os.path.join(workspace_dir, build_dir,
|
||||
"mavsdk_tests/mavsdk_tests")
|
||||
self.args = ["--url", mavlink_connection,
|
||||
self.cmd = "nice"
|
||||
self.args = ["-5",
|
||||
os.path.join(
|
||||
workspace_dir,
|
||||
build_dir,
|
||||
"mavsdk_tests/mavsdk_tests"),
|
||||
"--url", mavlink_connection,
|
||||
"--speed-factor", str(speed_factor),
|
||||
case]
|
||||
|
|
Loading…
Reference in New Issue