Skip to content

Commit 5916174

Browse files
author
Davide Melfi
committed
chore: putting the port mapping back and trying with one second timeout
1 parent 68b38a4 commit 5916174

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dockerized-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
4242
- name: Test container manually
4343
run: |
44-
docker run -d --name test-container -p 8080 local/test basic-lambda
45-
sleep 5
44+
docker run -d --name test-container -p 9000:8080 local/test basic-lambda
45+
sleep 1
4646
echo "Container logs after startup:"
4747
docker logs test-container
4848
echo "Attempting to invoke function:"
49-
curl -XPOST "http://localhost:8080/2015-03-31/functions/function/invocations" -d '{"command":"test"}' || echo "Invocation failed"
49+
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{"command":"test"}' || echo "Invocation failed"
5050
echo "Final container logs:"
5151
docker logs test-container
5252
docker kill test-container || true

0 commit comments

Comments
 (0)