diff --git a/internal/db/storage/blob/s3/reader/option_test.go b/internal/db/storage/blob/s3/reader/option_test.go index d4ec985b594..d46f0cd4c6b 100644 --- a/internal/db/storage/blob/s3/reader/option_test.go +++ b/internal/db/storage/blob/s3/reader/option_test.go @@ -435,7 +435,7 @@ func TestWithBackoffOpts(t *testing.T) { } }(), func() test { - defaultOptions := []backoff.Option{} + var defaultOptions []backoff.Option opts := []backoff.Option{ backoff.WithRetryCount(1), } diff --git a/internal/test/data/request/insert_test.go b/internal/test/data/request/insert_test.go index 93e8b8409e3..5c6f2eab684 100644 --- a/internal/test/data/request/insert_test.go +++ b/internal/test/data/request/insert_test.go @@ -31,6 +31,7 @@ var defaultMultiInsertReqComparators = []comparator.Option{ } func TestGenMultiInsertReq(t *testing.T) { + t.Parallel() type args struct { t ObjectType dist vector.Distribution @@ -243,6 +244,7 @@ func TestGenMultiInsertReq(t *testing.T) { } func TestGenSameVecMultiInsertReq(t *testing.T) { + t.Parallel() type args struct { num int vec []float32 diff --git a/internal/test/data/request/object_test.go b/internal/test/data/request/object_test.go index 7f9684e9e71..5754bd6fce9 100644 --- a/internal/test/data/request/object_test.go +++ b/internal/test/data/request/object_test.go @@ -29,6 +29,7 @@ var defaultObjectLocationComparators = []comparator.Option{ } func TestGenObjectLocations(t *testing.T) { + t.Parallel() type args struct { num int name string @@ -151,6 +152,7 @@ func TestGenObjectLocations(t *testing.T) { } func TestGenObjectStreamLocation(t *testing.T) { + t.Parallel() type args struct { num int name string