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:
Anis Elleuch
2019-03-07 09:04:32 -08:00
committed by Harshavardhana
parent b3229507a9
commit b72d2d9cc5
+1 -1
View File
@@ -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()