From baea5b9811f9b331c517f6de7be09111cfd0eac7 Mon Sep 17 00:00:00 2001 From: congqixia Date: Wed, 8 Nov 2023 20:12:09 +0800 Subject: [PATCH] Fix `TestUpsertInvalidColumnData` case using dynamic schema (#620) Signed-off-by: Congqi Xia --- test/testcases/upsert_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testcases/upsert_test.go b/test/testcases/upsert_test.go index 8b6a910d..af563360 100644 --- a/test/testcases/upsert_test.go +++ b/test/testcases/upsert_test.go @@ -242,11 +242,11 @@ func TestUpsertInvalidColumnData(t *testing.T) { mc := createMilvusClient(ctx, t) // create -> insert [0, 3000) -> flush -> index -> load - cp := CollectionParams{CollectionFieldsType: Int64FloatVecJSON, AutoID: false, EnableDynamicField: true, + cp := CollectionParams{CollectionFieldsType: Int64FloatVecJSON, AutoID: false, EnableDynamicField: false, ShardsNum: common.DefaultShards, Dim: common.DefaultDim} dp := DataParams{DoInsert: true, CollectionFieldsType: Int64FloatVecJSON, start: 0, nb: 200, - dim: common.DefaultDim, EnableDynamicField: true} + dim: common.DefaultDim, EnableDynamicField: false} collName := prepareCollection(ctx, t, mc, cp, WithDataParams(dp), WithIndexParams(IndexParams{BuildIndex: false}), WithLoadParams(LoadParams{DoLoad: false}), WithCreateOption(client.WithConsistencyLevel(entity.ClStrong)))