mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mavsdk_tests: also use sleep workaround locally
However, don't sleep as long as in CI.
This commit is contained in:
parent
1cb706c411
commit
eba1cf08f8
@ -424,9 +424,11 @@ class Tester:
|
||||
break
|
||||
|
||||
# Workaround to prevent gz not being able to communicate
|
||||
# with gzserver
|
||||
# with gzserver. In CI it tends to take longer.
|
||||
if os.getenv("GITHUB_WORKFLOW") and runner.name == "gzserver":
|
||||
time.sleep(10)
|
||||
else:
|
||||
time.sleep(2)
|
||||
|
||||
if abort:
|
||||
self.stop_runners()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user