Add segment info rand logic in test case (#5639)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/5779/head
congqixia 2021-06-07 12:25:38 +08:00 committed by zhenshan.cao
parent e9b282c0be
commit f794ceb0cc
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@ func TestMasterService(t *testing.T) {
Params.MetaRootPath = fmt.Sprintf("/%d/%s", randVal, Params.MetaRootPath)
Params.KvRootPath = fmt.Sprintf("/%d/%s", randVal, Params.KvRootPath)
Params.MsgChannelSubName = fmt.Sprintf("subname-%d", randVal)
Params.DataServiceSegmentChannel = fmt.Sprintf("data-service-segment-%d", randVal)
err = core.Register()
assert.Nil(t, err)