Tag actions integrations tests (#114)

* feat: Added an integration test case for for tag actions(get, put, delete)
This commit is contained in:
Jon Austin
2023-06-26 14:25:24 -07:00
committed by GitHub
parent f8afeec0a0
commit 30dbd02a83
4 changed files with 243 additions and 115 deletions
+8
View File
@@ -157,6 +157,14 @@ func initTestCommands() []*cli.Command {
removes both the object and bucket`,
Action: getAction(integration.TestInvalidMultiParts),
},
{
Name: "object-tag-actions",
Usage: "Tests get/put/delete object tag actions.",
Description: `Creates a bucket with s3 gateway action, puts an object in it,
puts some tags for the object, gets the tags, compares the results, removes the tags,
gets the tags again, checks it to be empty, then removes both the object and bucket`,
Action: getAction(integration.TestPutGetRemoveTags),
},
{
Name: "full-flow",
Usage: "Tests the full flow of gateway.",