Skip to content

Commit

Permalink
fix deepsource
Browse files Browse the repository at this point in the history
Signed-off-by: kevindiu <kevin_diu@yahoo.com.hk>
  • Loading branch information
kevindiu committed Jul 26, 2023
1 parent 5f9ba20 commit f7e8265
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/storage/blob/s3/reader/option_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ func TestWithBackoffOpts(t *testing.T) {
}
}(),
func() test {
defaultOptions := []backoff.Option{}
var defaultOptions []backoff.Option
opts := []backoff.Option{
backoff.WithRetryCount(1),
}
Expand Down
2 changes: 2 additions & 0 deletions internal/test/data/request/insert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ var defaultMultiInsertReqComparators = []comparator.Option{
}

func TestGenMultiInsertReq(t *testing.T) {
t.Parallel()
type args struct {
t ObjectType
dist vector.Distribution
Expand Down Expand Up @@ -243,6 +244,7 @@ func TestGenMultiInsertReq(t *testing.T) {
}

func TestGenSameVecMultiInsertReq(t *testing.T) {
t.Parallel()
type args struct {
num int
vec []float32
Expand Down
2 changes: 2 additions & 0 deletions internal/test/data/request/object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ var defaultObjectLocationComparators = []comparator.Option{
}

func TestGenObjectLocations(t *testing.T) {
t.Parallel()
type args struct {
num int
name string
Expand Down Expand Up @@ -151,6 +152,7 @@ func TestGenObjectLocations(t *testing.T) {
}

func TestGenObjectStreamLocation(t *testing.T) {
t.Parallel()
type args struct {
num int
name string
Expand Down

0 comments on commit f7e8265

Please sign in to comment.