Skip to content

Commit df4aa4e

Browse files
author
Radovan Fuchs
committed
fix before all hook not to fail on prow
1 parent 1383f38 commit df4aa4e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/e2e/features/steps/proxy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from behave.runner import Context
2626

2727
from tests.e2e.utils.utils import (
28+
is_prow_environment,
2829
restart_container,
2930
)
3031

@@ -35,6 +36,9 @@
3536

3637
def _is_docker_mode() -> bool:
3738
"""Check if services are running in Docker containers."""
39+
if is_prow_environment():
40+
return False
41+
3842
result = subprocess.run(
3943
["docker", "ps", "--filter", "name=llama-stack", "--format", "{{.Names}}"],
4044
capture_output=True,

0 commit comments

Comments
 (0)