Merge pull request #136 from andrewgaul/integration-test-fixups
Small fixes to integration tests
This commit is contained in:
@ -12,6 +12,7 @@ then
|
||||
echo "Missing credentials file: $S3FS_CREDENTIALS_FILE"
|
||||
exit 1
|
||||
fi
|
||||
chmod 600 "$S3FS_CREDENTIALS_FILE"
|
||||
|
||||
S3PROXY_VERSION="1.3.0"
|
||||
S3PROXY_BINARY="s3proxy-${S3PROXY_VERSION}-jar-with-dependencies.jar"
|
||||
|
||||
@ -6,7 +6,7 @@ REQUIRE_ROOT=require-root.sh
|
||||
source integration-test-common.sh
|
||||
|
||||
java -jar "$S3PROXY_BINARY" --properties s3proxy.conf &
|
||||
S3PROXY_PID="$?"
|
||||
S3PROXY_PID="$!"
|
||||
|
||||
# wait for S3Proxy to start
|
||||
for i in $(seq 30);
|
||||
@ -34,7 +34,7 @@ $S3FS $TEST_BUCKET_1 $TEST_BUCKET_MOUNT_POINT_1 \
|
||||
|
||||
./integration-test-main.sh $TEST_BUCKET_MOUNT_POINT_1
|
||||
|
||||
umount $TEST_BUCKET_MOUNT_POINT_1
|
||||
fusermount -u $TEST_BUCKET_MOUNT_POINT_1
|
||||
|
||||
kill $S3PROXY_PID
|
||||
|
||||
|
||||
Reference in New Issue
Block a user