mavsdk_tests: only apply workaround in GitHub CI

This commit is contained in:
Julian Oes
2020-04-08 16:20:53 +02:00
parent 54fe3c5fd5
commit 9764c32b55

View File

@@ -423,7 +423,7 @@ class Tester:
# Workaround to prevent gz not being able to communicate
# with gzserver
if runner.name == "gzserver":
if os.getenv("GITHUB_WORKFLOW") and runner.name == "gzserver":
time.sleep(10)
if abort: