Skip to content

Commit 509987f

Browse files
authored
Merge pull request #1428 from radofuchs/e2e_before_all_fix
LCORE-1221: fix before all hook not to fail on prow
2 parents 7cebde3 + df4aa4e commit 509987f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)