Skip to content

Commit 4d48990

Browse files
committed
Allow github actions to fail if mysql is missing
1 parent 7b8cb77 commit 4d48990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/mysql_live_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def run_backup_restore_test(self):
384384
except RuntimeError as e:
385385
if "Could not connect to MySQL" in str(e) or "MySQL client tools" in str(e):
386386
self._log(f"MySQL not available, skipping test: {e}")
387-
return "skipped"
387+
return False if GITHUB_ACTIONS else "skipped"
388388
else:
389389
self._log(f"{SYMBOL_FAIL} {self.connector_name} backup/restore test FAILED: {e}")
390390
return False

0 commit comments

Comments
 (0)