Skip to content

Commit 37027d7

Browse files
committed
Fix tests
1 parent 477e2c9 commit 37027d7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ message " Cleaning up from previous test run "
3737
docker ps -q --filter "name=http-echo-tests" | grep -q . && docker stop http-echo-tests
3838

3939
message " Start container normally "
40-
docker run -d --rm --name http-echo-tests -p 8080:80 -p 8443:443 -t mendhak/http-https-echo
40+
docker run -d --rm --name http-echo-tests -p 8080:8080 -p 8443:8443 -t mendhak/http-https-echo
4141
sleep 5
4242

4343

@@ -115,7 +115,7 @@ docker stop http-echo-tests
115115

116116

117117
message " Start container with JWT_HEADER "
118-
docker run -d --rm -e JWT_HEADER=Authentication --name http-echo-tests -p 8080:80 -p 8443:443 -t mendhak/http-https-echo
118+
docker run -d --rm -e JWT_HEADER=Authentication --name http-echo-tests -p 8080:8080 -p 8443:8443 -t mendhak/http-https-echo
119119
sleep 5
120120

121121
REQUEST=$(curl -s -k -H "Authentication: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" https://localhost:8443/ )
@@ -135,7 +135,7 @@ docker stop http-echo-tests
135135

136136

137137
message " Start container with LOG_IGNORE_PATH "
138-
docker run -d --rm -e LOG_IGNORE_PATH=/ping --name http-echo-tests -p 8080:80 -p 8443:443 -t mendhak/http-https-echo
138+
docker run -d --rm -e LOG_IGNORE_PATH=/ping --name http-echo-tests -p 8080:8080 -p 8443:8443 -t mendhak/http-https-echo
139139
sleep 5
140140
curl -s -k -X POST -d "banana" https://localhost:8443/ping > /dev/null
141141

@@ -154,7 +154,7 @@ message " Stop containers "
154154
docker stop http-echo-tests
155155

156156
message " Start container with LOG_WITHOUT_NEWLINE "
157-
docker run -d --rm -e LOG_WITHOUT_NEWLINE=1 --name http-echo-tests -p 8080:80 -p 8443:443 -t mendhak/http-https-echo
157+
docker run -d --rm -e LOG_WITHOUT_NEWLINE=1 --name http-echo-tests -p 8080:8080 -p 8443:8443 -t mendhak/http-https-echo
158158
sleep 5
159159
curl -s -k -X POST -d "tiramisu" https://localhost:8443/ > /dev/null
160160

0 commit comments

Comments
 (0)