From af0309371e8b43ec75452ab68860de70c30b8a86 Mon Sep 17 00:00:00 2001 From: kannappanr <30541348+kannappanr@users.noreply.github.com> Date: Wed, 13 May 2020 19:55:34 -0700 Subject: [PATCH] mint tests s3cmd remove copy object test (#9595) test is failing in Azure gateway as a mapping from x-amz-storage-class to Azure storage tier is failing and there is no way to not send storage class in s3cmd. --- mint/run/core/s3cmd/test.sh | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/mint/run/core/s3cmd/test.sh b/mint/run/core/s3cmd/test.sh index e8c415713..a33d50562 100755 --- a/mint/run/core/s3cmd/test.sh +++ b/mint/run/core/s3cmd/test.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Mint (C) 2017 Minio, Inc. +# Mint (C) 2017-2020 Minio, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -289,21 +289,6 @@ function test_get_object_multipart() log_success "$start_time" "${FUNCNAME[0]}" } -function test_copy_object() -{ - show "${FUNCNAME[0]}" - - start_time=$(get_time) - object_name1="s3cmd-test-object-$RANDOM" - object_name2="s3cmd-test-object-$RANDOM" - assert_success "$start_time" "${FUNCNAME[0]}" s3cmd_cmd put "${FILE_1_MB}" "s3://${BUCKET_NAME}/${object_name1}" - assert_success "$start_time" "${FUNCNAME[0]}" s3cmd_cmd cp "s3://${BUCKET_NAME}/${object_name1}" "s3://${BUCKET_NAME}/${object_name2}" - assert_success "$start_time" "${FUNCNAME[0]}" s3cmd_cmd info "s3://${BUCKET_NAME}/${object_name2}" - assert_success "$start_time" "${FUNCNAME[0]}" s3cmd_cmd rm "s3://${BUCKET_NAME}/${object_name1}" "s3://${BUCKET_NAME}/${object_name2}" - - log_success "$start_time" "${FUNCNAME[0]}" -} - function test_sync_list_objects() { show "${FUNCNAME[0]}" @@ -333,7 +318,6 @@ function run_test() test_put_object_multipart test_get_object test_get_object_multipart - test_copy_object test_sync_list_objects teardown