poäjhpoäj
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 23s
acc-tests Cucumber test report
CI Feature / Cucumber tests (push) Failing after 1m14s
unit-tests Bats test report
CI Feature / Bats tests (push) Failing after 2m56s
CI Feature / Report Summary (push) Successful in 6s

This commit is contained in:
moilanik
2026-06-20 13:49:04 +03:00
parent cd6ff8830c
commit a61b22d8a7
+2 -1
View File
@@ -15,7 +15,7 @@ _free_port() {
_wait_port_ready() { _wait_port_ready() {
local i=0 local i=0
while [ $i -lt 10 ]; do while [ $i -lt 30 ]; do
if nc -z localhost "$MOCK_PORT" 2>/dev/null; then if nc -z localhost "$MOCK_PORT" 2>/dev/null; then
return 0 return 0
fi fi
@@ -58,6 +58,7 @@ mock_start() {
nohup python3 "$(dirname "${BASH_SOURCE[0]}")/mock-server.py" "$MOCK_PORT" "$MOCK_CONFIG_FILE" "$MOCK_REQUEST_FILE" \ nohup python3 "$(dirname "${BASH_SOURCE[0]}")/mock-server.py" "$MOCK_PORT" "$MOCK_CONFIG_FILE" "$MOCK_REQUEST_FILE" \
</dev/null >/dev/null 2>&1 & </dev/null >/dev/null 2>&1 &
disown
MOCK_PID=$! MOCK_PID=$!
_wait_port_ready _wait_port_ready
} }