while loop hangs the flow, will use background
This commit is contained in:
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
apt install -y netcat-traditional
|
apt install -y netcat-traditional
|
||||||
while true; do
|
while true; do
|
||||||
echo "HTTP/1.1 200 OK\\n\\nHello from dummy server" | nc -l -p 443 -q 1
|
echo "HTTP/1.1 200 OK\\n\\nHello from dummy server" | nc -l -p 443 -q 1
|
||||||
done
|
done &
|
||||||
- name: Try curl the dummy server on port 443
|
- name: Try curl the dummy server on port 443
|
||||||
run: |
|
run: |
|
||||||
curl -k https://localhost:443
|
curl -k https://localhost:443
|
||||||
|
|||||||
Reference in New Issue
Block a user