mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-10 23:00:57 +00:00
Merge pull request #1121 from ggtakec/update_test
Added stats cache expire option for test
This commit is contained in:
commit
0411872dda
@ -193,6 +193,8 @@ function start_s3fs {
|
|||||||
-o createbucket \
|
-o createbucket \
|
||||||
${AUTH_OPT} \
|
${AUTH_OPT} \
|
||||||
${DIRECT_IO_OPT} \
|
${DIRECT_IO_OPT} \
|
||||||
|
-o stat_cache_expire=1 \
|
||||||
|
-o stat_cache_interval_expire=1 \
|
||||||
-o dbglevel=${DBGLEVEL:=info} \
|
-o dbglevel=${DBGLEVEL:=info} \
|
||||||
-o retries=3 \
|
-o retries=3 \
|
||||||
-f \
|
-f \
|
||||||
|
@ -309,6 +309,7 @@ function test_external_modification {
|
|||||||
function test_read_external_object() {
|
function test_read_external_object() {
|
||||||
describe "create objects via aws CLI and read via s3fs"
|
describe "create objects via aws CLI and read via s3fs"
|
||||||
OBJECT_NAME="$(basename $PWD)/${TEST_TEXT_FILE}"
|
OBJECT_NAME="$(basename $PWD)/${TEST_TEXT_FILE}"
|
||||||
|
sleep 3
|
||||||
echo "test" | aws_cli cp - "s3://${TEST_BUCKET_1}/${OBJECT_NAME}"
|
echo "test" | aws_cli cp - "s3://${TEST_BUCKET_1}/${OBJECT_NAME}"
|
||||||
cmp ${TEST_TEXT_FILE} <(echo "test")
|
cmp ${TEST_TEXT_FILE} <(echo "test")
|
||||||
rm -f ${TEST_TEXT_FILE}
|
rm -f ${TEST_TEXT_FILE}
|
||||||
|
Loading…
Reference in New Issue
Block a user