feat(tests): add Parallelization where possible (#1823)

* feat(tests): add Parallelization where possible
This commit is contained in:
Kyle Sanderson 2024-11-23 06:16:09 -08:00 committed by GitHub
parent c0882aff84
commit 4cc0f9cc83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 53 additions and 2 deletions

View file

@ -15,6 +15,7 @@ import (
// A '*' in a provided string will not result in matching the strings before and after the '*' of the string provided.
// Sample usage: In resource matching for bucket policy validation.
func TestMatch(t *testing.T) {
t.Parallel()
tests := []struct {
pattern string
text string
@ -151,6 +152,7 @@ func TestMatch(t *testing.T) {
}
func TestMatchSimple(t *testing.T) {
t.Parallel()
tests := []struct {
pattern string
name string
@ -183,6 +185,7 @@ func TestMatchSimple(t *testing.T) {
}
func TestMatchSliceSimple(t *testing.T) {
t.Parallel()
tests := []struct {
patterns []string
name string
@ -209,6 +212,7 @@ func TestMatchSliceSimple(t *testing.T) {
}
func TestMatchSlice(t *testing.T) {
t.Parallel()
tests := []struct {
patterns []string
name string