Skip to content

Commit 6a3956b

Browse files
committed
Clean up other test reductions
1 parent 2f555e8 commit 6a3956b

3 files changed

+4
-6
lines changed

e2etest/zt_basic_cli_ps_auth_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
// THE SOFTWARE.
2020
package e2etest
2121

22-
package e2etest
23-
2422
import (
2523
"testing"
2624

e2etest/zt_basic_copy_sync_remove_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import (
4141

4242
// ================================ Copy And Sync: Upload, Download, and S2S =========================================
4343
func TestBasic_CopyUploadSingleBlob(t *testing.T) {
44-
RunScenarios(t, eOperation.CopyAndSync(), eTestFromTo.AllUploads(), eValidate.AutoPlusContent(), anonymousAuthOnly, anonymousAuthOnly, params{
44+
RunScenarios(t, eOperation.CopyAndSync(), eTestFromTo.AllUploads(), eValidate.AutoPlusContent(), anonymousAuthOnly, allCredentialTypes, params{
4545
recursive: true,
4646
}, nil, testFiles{
4747
defaultSize: "1K",
@@ -138,7 +138,7 @@ func TestBasic_CopyUploadLargeAppendBlobBlockSizeFlag(t *testing.T) {
138138
}
139139

140140
func TestBasic_CopyDownloadSingleBlob(t *testing.T) {
141-
RunScenarios(t, eOperation.CopyAndSync(), eTestFromTo.AllDownloads(), eValidate.Auto(), anonymousAuthOnly, anonymousAuthOnly, params{
141+
RunScenarios(t, eOperation.CopyAndSync(), eTestFromTo.AllDownloads(), eValidate.Auto(), allCredentialTypes, anonymousAuthOnly, params{
142142
recursive: true,
143143
}, nil, testFiles{
144144
defaultSize: "1K",

e2etest/zt_preserve_properties_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestProperties_NameValueMetadataIsPreservedS2S(t *testing.T) {
4444

4545
func TestProperties_NameValueMetadataCanBeUploaded(t *testing.T) {
4646
expectedMap := map[string]*string{"foo": to.Ptr("abc"), "bar": to.Ptr("def"), "baz": to.Ptr("state=a;b")}
47-
RunScenarios(t, eOperation.Copy(), eTestFromTo.Other(common.EFromTo.LocalBlobFS()), eValidate.Auto(), anonymousAuthOnly, anonymousAuthOnly, params{
47+
RunScenarios(t, eOperation.Copy(), eTestFromTo.AllUploads(), eValidate.Auto(), anonymousAuthOnly, anonymousAuthOnly, params{
4848
recursive: true,
4949
metadata: "foo=abc;bar=def;baz=state=a\\;b",
5050
}, nil, testFiles{
@@ -57,7 +57,7 @@ func TestProperties_NameValueMetadataCanBeUploaded(t *testing.T) {
5757
}
5858

5959
func TestProperties_HNSACLs(t *testing.T) {
60-
RunScenarios(t, eOperation.Copy(), eTestFromTo.Other(common.EFromTo.BlobBlob(), common.EFromTo.BlobFSBlobFS(), common.EFromTo.BlobBlobFS(), common.EFromTo.BlobFSBlob()), eValidate.Auto(), anonymousAuthOnly, anonymousAuthOnly, params{
60+
RunScenarios(t, eOperation.CopyAndSync(), eTestFromTo.Other(common.EFromTo.BlobBlob(), common.EFromTo.BlobFSBlobFS(), common.EFromTo.BlobBlobFS(), common.EFromTo.BlobFSBlob()), eValidate.Auto(), anonymousAuthOnly, anonymousAuthOnly, params{
6161
recursive: true,
6262
preserveSMBPermissions: true, // this flag is deprecated, but still held over to avoid breaking.
6363
}, nil, testFiles{

0 commit comments

Comments
 (0)