fix rootcoord unittest (#6090)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
pull/6095/head
Cai Yudong 2021-06-24 19:44:08 +08:00 committed by GitHub
parent a807dca132
commit f633d48ccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1844,7 +1844,7 @@ func TestRootCoord2(t *testing.T) {
pChan := core.MetaTable.ListCollectionPhysicalChannels()
dmlStream, _ := msFactory.NewMsgStream(ctx)
dmlStream.AsConsumer(pChan, Params.MsgChannelSubName)
dmlStream.AsConsumer([]string{pChan[0]}, Params.MsgChannelSubName)
dmlStream.Start()
msgs := getNotTtMsg(ctx, 2, dmlStream.Chan())