Skip to content

Commit

Permalink
Fix TestUpsertInvalidColumnData case using dynamic schema (#620)
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Nov 8, 2023
1 parent 79dc722 commit baea5b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testcases/upsert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit baea5b9

Please sign in to comment.