tests: Use rb instead of rm to clean test bucket (#2708)
rm command is not able to remove buckets anymore, so use the new rb command instead.
This commit is contained in:
committed by
Harshavardhana
parent
b3229507a9
commit
b72d2d9cc5
+1
-1
@@ -257,7 +257,7 @@ function setup()
|
||||
function teardown()
|
||||
{
|
||||
start_time=$(get_time)
|
||||
assert_success "$start_time" "${FUNCNAME[0]}" mc_cmd rm --force --recursive "${SERVER_ALIAS}/${BUCKET_NAME}"
|
||||
assert_success "$start_time" "${FUNCNAME[0]}" mc_cmd rb --force "${SERVER_ALIAS}/${BUCKET_NAME}"
|
||||
}
|
||||
|
||||
function test_put_object()
|
||||
|
||||
Reference in New Issue
Block a user