mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
mavsdk_tests: only apply workaround in GitHub CI
This commit is contained in:
@@ -423,7 +423,7 @@ class Tester:
|
|||||||
|
|
||||||
# Workaround to prevent gz not being able to communicate
|
# Workaround to prevent gz not being able to communicate
|
||||||
# with gzserver
|
# with gzserver
|
||||||
if runner.name == "gzserver":
|
if os.getenv("GITHUB_WORKFLOW") and runner.name == "gzserver":
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
|
||||||
if abort:
|
if abort:
|
||||||
|
|||||||
Reference in New Issue
Block a user