未验证 提交 6f08430c 编写于 作者: S sunby 提交者: GitHub

Check error in server test (#9012)

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
上级 332025aa
......@@ -438,7 +438,8 @@ func TestGetSegmentInfo(t *testing.T) {
segInfo := &datapb.SegmentInfo{
ID: 0,
}
svr.meta.AddSegment(NewSegmentInfo(segInfo))
err := svr.meta.AddSegment(NewSegmentInfo(segInfo))
assert.Nil(t, err)
req := &datapb.GetSegmentInfoRequest{
SegmentIDs: []int64{0, 1},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册