未验证 提交 332025aa 编写于 作者: S sunby 提交者: GitHub

Check error in server_test.go (#9011)

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
上级 413ba12f
......@@ -421,7 +421,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},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册