mirror of
https://github.com/minio/minio.git
synced 2025-02-27 21:39:15 -05:00
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.
This commit is contained in:
parent
ead3c186a6
commit
af0309371e
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Mint (C) 2017 Minio, Inc.
|
# Mint (C) 2017-2020 Minio, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with 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]}"
|
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()
|
function test_sync_list_objects()
|
||||||
{
|
{
|
||||||
show "${FUNCNAME[0]}"
|
show "${FUNCNAME[0]}"
|
||||||
@ -333,7 +318,6 @@ function run_test()
|
|||||||
test_put_object_multipart
|
test_put_object_multipart
|
||||||
test_get_object
|
test_get_object
|
||||||
test_get_object_multipart
|
test_get_object_multipart
|
||||||
test_copy_object
|
|
||||||
test_sync_list_objects
|
test_sync_list_objects
|
||||||
|
|
||||||
teardown
|
teardown
|
||||||
|
Loading…
x
Reference in New Issue
Block a user