Skip to content

Commit 578b62a

Browse files
committed
Fix the flaky CI tests
1 parent fb0b33a commit 578b62a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

ci-build.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -228,27 +228,27 @@ wget -O /dev/null --quiet --no-check-certificate https://${DOCKER_HOST_NAME}:${P
228228

229229

230230
start_test "Start with multi locations settings" "${STD_CMD} \
231-
-e \"LOCATIONS_CSV=/,/news\" \
232-
-e \"PROXY_SERVICE_HOST_1=http://www.w3.org\" \
233-
-e \"PROXY_SERVICE_PORT_1=80\" \
234-
-e \"PROXY_SERVICE_HOST_2=http://www.bbc.co.uk\" \
235-
-e \"PROXY_SERVICE_PORT_2=80\""
231+
-e \"LOCATIONS_CSV=/,/wiki/Wikipedia:About\" \
232+
-e \"PROXY_SERVICE_HOST_1=https://www.w3.org\" \
233+
-e \"PROXY_SERVICE_PORT_1=443\" \
234+
-e \"PROXY_SERVICE_HOST_2=https://en.wikipedia.org\" \
235+
-e \"PROXY_SERVICE_PORT_2=443\""
236236

237237

238238
echo "Test for location 1 @ /..."
239239
wget -O /dev/null --quiet --no-check-certificate https://${DOCKER_HOST_NAME}:${PORT}/
240-
echo "Test for news..."
241-
wget -O /dev/null --quiet --no-check-certificate --header="Host: www.bbc.co.uk" https://${DOCKER_HOST_NAME}:${PORT}/news
240+
echo "Test for wikipedia about page..."
241+
wget -O /dev/null --quiet --no-check-certificate --header="Host: en.wikipedia.org" https://${DOCKER_HOST_NAME}:${PORT}/wiki/Wikipedia:About
242242

243243
start_test "Start with Multiple locations, single proxy and NAXSI download." "${STD_CMD} \
244-
-e \"PROXY_SERVICE_HOST=http://www.bbc.co.uk\" \
245-
-e \"PROXY_SERVICE_PORT=80\" \
246-
-e \"LOCATIONS_CSV=/,/news\" \
244+
-e \"PROXY_SERVICE_HOST=https://en.wikipedia.org\" \
245+
-e \"PROXY_SERVICE_PORT=443\" \
246+
-e \"LOCATIONS_CSV=/,/wiki/Wikipedia:About\" \
247247
-e \"NAXSI_RULES_URL_CSV_1=https://raw.githubusercontent.com/nbs-system/naxsi-rules/master/drupal.rules\" \
248248
-e \"NAXSI_RULES_MD5_CSV_1=3b3c24ed61683ab33d8441857c315432\""
249249

250250
echo "Test for all OK..."
251-
wget -O /dev/null --quiet --no-check-certificate --header="Host: www.bbc.co.uk" https://${DOCKER_HOST_NAME}:${PORT}/
251+
wget -O /dev/null --quiet --no-check-certificate --header="Host: en.wikipedia.org" https://${DOCKER_HOST_NAME}:${PORT}/
252252

253253
echo "Test client certs..."
254254
cd ./client_certs/

0 commit comments

Comments
 (0)