From b72d2d9cc57c74b3207e771ce318a483663ee13f Mon Sep 17 00:00:00 2001 From: Anis Elleuch Date: Thu, 7 Mar 2019 18:04:32 +0100 Subject: [PATCH] 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. --- functional-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functional-tests.sh b/functional-tests.sh index 582d302f..aca0b21d 100755 --- a/functional-tests.sh +++ b/functional-tests.sh @@ -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()