Run tests with HTTP instead of HTTPS

This reduces the s3fs CPU run-time dramatically.
This commit is contained in:
Andrew Gaul 2023-08-26 11:02:03 -07:00
parent 48548f0896
commit ce2bff6af1
2 changed files with 2 additions and 6 deletions

View File

@ -72,11 +72,7 @@ S3FS=../src/s3fs
# [NOTE]
# CHAOS HTTP PROXY does not support HTTPS.
#
if [ -z "${CHAOS_HTTP_PROXY}" ] && [ -z "${CHAOS_HTTP_PROXY_OPT}" ]; then
: "${S3_URL:="https://127.0.0.1:8080"}"
else
: "${S3_URL:="http://127.0.0.1:8080"}"
fi
: "${S3_URL:="http://127.0.0.1:8080"}"
: "${S3_ENDPOINT:="us-east-1"}"
: "${S3FS_CREDENTIALS_FILE:="passwd-s3fs"}"
: "${TEST_BUCKET_1:="s3fs-integration-test"}"

View File

@ -1,4 +1,4 @@
s3proxy.secure-endpoint=https://127.0.0.1:8080
s3proxy.endpoint=http://127.0.0.1:8080
s3proxy.authorization=aws-v2-or-v4
s3proxy.identity=local-identity
s3proxy.credential=local-credential