From 605ebf4fcfec7504e678d1c0fdbd3b0c77e0cebc Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Wed, 27 Nov 2024 12:43:42 +0300 Subject: [PATCH 1/2] [#7] Mark all locking methods as not supported Signed-off-by: Denis Kirillov --- internal/s3/resources/tests-struct.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/internal/s3/resources/tests-struct.json b/internal/s3/resources/tests-struct.json index 339124f..a00d9ff 100644 --- a/internal/s3/resources/tests-struct.json +++ b/internal/s3/resources/tests-struct.json @@ -503,8 +503,8 @@ "include": [ "Locking" ], - "skip": false, - "comment": "See Locking Feature" + "skip": true, + "comment": "Not supported. See Locking Feature" }, { "name": "GetObjectLockConfiguration", @@ -513,8 +513,8 @@ "include": [ "Locking" ], - "skip": false, - "comment": "See Locking Feature" + "skip": true, + "comment": "Not supported. See Locking Feature" }, { "name": "GetObjectRetention", @@ -523,8 +523,8 @@ "include": [ "Locking" ], - "skip": false, - "comment": "See Locking Feature" + "skip": true, + "comment": "Not supported. See Locking Feature" }, { "name": "GetObjectTagging", @@ -959,8 +959,8 @@ "include": [ "Locking" ], - "skip": false, - "comment": "See Locking Feature" + "skip": true, + "comment": "Not supported. See Locking Feature" }, { "name": "PutObjectLockConfiguration", @@ -969,8 +969,8 @@ "include": [ "Locking" ], - "skip": false, - "comment": "See Locking Feature" + "skip": true, + "comment": "Not supported. See Locking Feature" }, { "name": "PutObjectRetention", @@ -979,8 +979,8 @@ "include": [ "Locking" ], - "skip": false, - "comment": "See Locking Feature" + "skip": true, + "comment": "Not supported. See Locking Feature" }, { "name": "PutObjectTagging", -- 2.45.2 From 3ff610072c091c029c75ec8bd466e9f7a2c05c90 Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Wed, 27 Nov 2024 12:44:33 +0300 Subject: [PATCH 2/2] [#7] Ignore transitively skipped tests Signed-off-by: Denis Kirillov --- cmd/parser/modules/tests.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/parser/modules/tests.go b/cmd/parser/modules/tests.go index b79f9be..5fb1115 100644 --- a/cmd/parser/modules/tests.go +++ b/cmd/parser/modules/tests.go @@ -34,6 +34,9 @@ func runTestsCmd(cmd *cobra.Command, _ []string) error { groupTests := make(map[string][]string) for _, group := range testStruct.Groups { + if group.Skip { + continue + } groupTests[group.Name] = group.Tests } -- 2.45.2