File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2828
2929p=` dirname $0 `
3030
31- PROXY_BIN=" java -Xms512m -Xmx16g --add-opens java.base/java.lang=ALL-UNNAMED -DLOG_LEVEL=trace -Djclouds.wire=debug -jar s3proxy.jar --properties $p /s3proxy.properties"
31+ PROXY_BIN=" java -Xmx8g --add-opens java.base/java.lang=ALL-UNNAMED -DLOG_LEVEL=trace -Djclouds.wire=debug -jar s3proxy.jar --properties $p /s3proxy.properties"
3232export S3CMD_ARGS=" --access_key=foo --secret_key=bar"
3333export AWS_ACCESS_KEY_ID=foo
3434export AWS_SECRET_ACCESS_KEY=bar
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ PROXY_FS=$PROXY_FS
2424PROXY_PORT=${PROXY_PORT:- 8080}
2525TIMEOUT=${TIMEOUT:- 10m}
2626
27- trap ' kill -9 $PROXY_PID' EXIT
27+ trap ' kill -9 $PROXY_PID; kill -9 $PS_PID ' EXIT
2828
2929if [ $CLOUD == " s3" ]; then
3030 sed ' s/$PORT/' $PROXY_PORT ' /' < test/s3proxy.properties > test/s3proxy_test.properties
@@ -33,7 +33,9 @@ if [ $CLOUD == "s3" ]; then
3333 echo jclouds.provider=filesystem >> test/s3proxy_test.properties
3434 echo jclouds.filesystem.basedir=/tmp/s3proxy >> test/s3proxy_test.properties
3535 fi
36- PROXY_BIN=" java -Xms512m -Xmx16g --add-opens java.base/java.lang=ALL-UNNAMED -jar s3proxy.jar --properties test/s3proxy_test.properties"
36+ PROXY_BIN=" java -Xmx8g --add-opens java.base/java.lang=ALL-UNNAMED -jar s3proxy.jar --properties test/s3proxy_test.properties"
37+ (java --version; for i in $( seq 100) ; do ps aux| grep -e java -e tigrisfs; sleep 7; done) &
38+ PS_PID=$!
3739 export AWS_ACCESS_KEY_ID=foo
3840 export AWS_SECRET_ACCESS_KEY=bar
3941 export ENDPOINT=http://localhost:$PROXY_PORT
You can’t perform that action at this time.
0 commit comments