Skip to content

Commit

Permalink
test: fix go sdk cases parallel context deadline (milvus-io#35519)
Browse files Browse the repository at this point in the history
Signed-off-by: ThreadDao <[email protected]>
  • Loading branch information
ThreadDao authored Aug 16, 2024
1 parent 2736a8b commit 635e9dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/go_client/testcases/collection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ func TestCreateCollectionPartitionKey(t *testing.T) {

int64Field := entity.NewField().WithName(common.DefaultInt64FieldName).WithDataType(entity.FieldTypeInt64).WithIsPrimaryKey(true)
vecField := entity.NewField().WithName(common.DefaultFloatVecFieldName).WithDataType(entity.FieldTypeFloatVector).WithDim(common.DefaultDim)
t.Parallel()

for _, fieldType := range []entity.FieldType{entity.FieldTypeVarChar, entity.FieldTypeInt64} {
partitionKeyField := entity.NewField().WithName("par_key").WithDataType(fieldType).WithIsPartitionKey(true).WithMaxLength(common.TestMaxLen)
Expand Down Expand Up @@ -517,7 +516,7 @@ func TestCreateCollectionInvalidFields(t *testing.T) {
func TestCreateCollectionInvalidAutoPkField(t *testing.T) {
ctx := hp.CreateContext(t, time.Second*common.DefaultTimeout*2)
mc := createDefaultMilvusClient(ctx, t)
t.Parallel()

// create collection with autoID true or not
collName := common.GenRandomString(prefix, 6)

Expand Down

0 comments on commit 635e9dd

Please sign in to comment.