Skip to content

Commit

Permalink
Add Wasabi storage to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertchen committed Aug 12, 2017
1 parent 41e3843 commit 799b040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/duplicacy_storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func loadStorage(localStoragePath string, threads int) (Storage, error) {
} else if testStorageName == "sftp" {
port, _ := strconv.Atoi(storage["port"])
return CreateSFTPStorageWithPassword(storage["server"], port, storage["username"], storage["directory"], storage["password"], threads)
} else if testStorageName == "s3" {
} else if testStorageName == "s3" || testStorageName == "wasabi" {
return CreateS3Storage(storage["region"], storage["endpoint"], storage["bucket"], storage["directory"], storage["access_key"], storage["secret_key"], threads, true, false)
} else if testStorageName == "s3c" {
return CreateS3CStorage(storage["region"], storage["endpoint"], storage["bucket"], storage["directory"], storage["access_key"], storage["secret_key"], threads)
Expand Down

0 comments on commit 799b040

Please sign in to comment.