Skip to content

Commit

Permalink
Fix create collection schema & field dismatch
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia committed Jan 17, 2024
1 parent 9841926 commit bd3dc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testcases/collection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ func TestCreateJsonCollection(t *testing.T) {

// schema
collName := common.GenRandomString(6)
schema := common.GenSchema(collName, false, fields)
schema := common.GenSchema(collName, true, fields)

// create collection
err := mc.CreateCollection(ctx, schema, common.DefaultShards)
Expand Down

0 comments on commit bd3dc77

Please sign in to comment.