Allow overriding log level in run-s3-tests.sh

error-prone
Andrew Gaul 2024-12-23 12:24:04 -05:00
rodzic 3135e44842
commit e7347c38dd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -11,7 +11,7 @@ export S3TEST_CONF="${PWD}/src/test/resources/s3-tests.conf"
# launch S3Proxy using HTTP and a fixed port
sed "s,^\(s3proxy.endpoint\)=.*,\1=http://127.0.0.1:${S3PROXY_PORT}," \
< "src/test/resources/$S3PROXY_CONF" | grep -v secure-endpoint > target/s3proxy.conf
$S3PROXY_BIN --properties target/s3proxy.conf &
java -DLOG_LEVEL=${LOG_LEVEL:-info} -jar $S3PROXY_BIN --properties target/s3proxy.conf &
S3PROXY_PID=$!
function finish {