Skip to content

Commit b35b2f7

Browse files
Razeen-Abdal-RahmanGromit
andauthored
Error running API tests TT-16060 (#7507)
Co-authored-by: Gromit <policy@gromit>
1 parent 5c69a89 commit b35b2f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ jobs:
514514
echo "waiting for Tyk Gateway to initalize..."
515515
sleep 30
516516
for i in {1..10}; do
517-
if curl -s https://localhost:8080/hello > /dev/null; then
517+
if curl -s http://localhost:8080/hello > /dev/null; then
518518
echo "Gateway is ready!"
519519
break
520520
fi
@@ -584,7 +584,7 @@ jobs:
584584
tags: test-${{ matrix.distro }}-${{ matrix.arch }}
585585
load: true
586586
- name: Test the built container image with api functionality test.
587-
run: "docker run -d -p8080:8080 --name=test --platform linux/${{ matrix.arch }} --network ${{ job.container.network }} --rm test-${{ matrix.distro }}-${{ matrix.arch }}\necho \"waiting for Tyk Gateway to initalize...\"\nsleep 30\nfor i in {1..10}; do\n if curl -s https://localhost:8080/hello > /dev/null; then\n echo \"Gateway is ready!\"\n break\n fi\n echo \"Waiting for gateway to become available... ($i/10)\"\n sleep 5\n if [ $i -eq 10 ]; then\n echo \"Gateway failed to start within timeout\"\n docker logs test\n exit 1\n fi\ndone\n./ci/tests/api-functionality/api_test.sh\nsleep 2\ndocker stop test || true \n"
587+
run: "docker run -d -p8080:8080 --name=test --platform linux/${{ matrix.arch }} --network ${{ job.container.network }} --rm test-${{ matrix.distro }}-${{ matrix.arch }}\necho \"waiting for Tyk Gateway to initalize...\"\nsleep 30\nfor i in {1..10}; do\n if curl -s http://localhost:8080/hello > /dev/null; then\n echo \"Gateway is ready!\"\n break\n fi\n echo \"Waiting for gateway to become available... ($i/10)\"\n sleep 5\n if [ $i -eq 10 ]; then\n echo \"Gateway failed to start within timeout\"\n docker logs test\n exit 1\n fi\ndone\n./ci/tests/api-functionality/api_test.sh\nsleep 2\ndocker stop test || true \n"
588588
release-tests:
589589
needs:
590590
- goreleaser

0 commit comments

Comments
 (0)