mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Increase retry timer when validating configs
This commit is contained in:
parent
9c2c5edaf5
commit
d0e01472b9
@ -25,7 +25,7 @@ else
|
|||||||
fi
|
fi
|
||||||
printf " - %s\n" "${CONFIG_ARRAY[@]}"
|
printf " - %s\n" "${CONFIG_ARRAY[@]}"
|
||||||
|
|
||||||
mkdir -p test/tmp/data
|
mkdir -p test/tmp/data
|
||||||
echo "$TEST_NAME - Building and installing package"
|
echo "$TEST_NAME - Building and installing package"
|
||||||
npm pack --loglevel warn
|
npm pack --loglevel warn
|
||||||
npm install -g solid-community-server-*.tgz --loglevel warn
|
npm install -g solid-community-server-*.tgz --loglevel warn
|
||||||
@ -72,7 +72,7 @@ run_server_with_config () {
|
|||||||
cat test/tmp/"$CONFIG_NAME"
|
cat test/tmp/"$CONFIG_NAME"
|
||||||
else
|
else
|
||||||
echo "$TEST_NAME($CONFIG_NAME) - Attempting HTTP access to the server"
|
echo "$TEST_NAME($CONFIG_NAME) - Attempting HTTP access to the server"
|
||||||
if curl -sfkI -X GET --retry 15 --retry-connrefused --retry-delay 1 $CSS_BASE_URL > test/tmp/"$CONFIG_NAME"-curl; then
|
if curl -sfkI -X GET --retry 15 --retry-connrefused --retry-delay 5 $CSS_BASE_URL > test/tmp/"$CONFIG_NAME"-curl; then
|
||||||
echo "$TEST_NAME($CONFIG_NAME) - SUCCESS: server reached"
|
echo "$TEST_NAME($CONFIG_NAME) - SUCCESS: server reached"
|
||||||
FAILURE=0
|
FAILURE=0
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user