forked from Archive/PX4-Autopilot
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…
Reference in New Issue