From bd3dc772c6e137ae5451c9d740d8455cee7e4179 Mon Sep 17 00:00:00 2001 From: Congqi Xia Date: Wed, 17 Jan 2024 15:29:33 +0800 Subject: [PATCH] Fix create collection schema & field dismatch Signed-off-by: Congqi Xia --- test/testcases/collection_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testcases/collection_test.go b/test/testcases/collection_test.go index 4c32d146..2cd6cb48 100644 --- a/test/testcases/collection_test.go +++ b/test/testcases/collection_test.go @@ -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)