Skip to content

Commit

Permalink
test-skipping logic (minor)
Browse files Browse the repository at this point in the history
* fix 7d0d196

Signed-off-by: Alex Aizman <[email protected]>
  • Loading branch information
alex-aizman committed Jun 7, 2024
1 parent 5507ee0 commit 5bf9321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/skip.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func CheckSkip(tb testing.TB, args *SkipTestArgs) {
proxyURL := GetPrimaryURL()
if !isCloudBucket(tb, proxyURL, args.Bck) {
tb.Skipf("%s requires a cloud bucket", tb.Name())
} else if args.RequiredCloudProvider != args.Bck.Provider {
} else if args.RequiredCloudProvider != "" && args.RequiredCloudProvider != args.Bck.Provider {
tb.Skipf("%s requires a cloud bucket with %s provider", tb.Name(), args.RequiredCloudProvider)
}
}
Expand Down

0 comments on commit 5bf9321

Please sign in to comment.