mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +08:00
fix rootcoord meta table unstable ut (#25126)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
This commit is contained in:
parent
c7b851f870
commit
2d029b7fd3
@ -1478,7 +1478,8 @@ func TestMetaTable_EmtpyDatabaseName(t *testing.T) {
|
||||
ret, err = mt.listCollectionFromCache("", false)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, 2, len(ret))
|
||||
assert.Equal(t, []int64{ret[0].CollectionID, ret[1].CollectionID}, []int64{1, 2})
|
||||
assert.Contains(t, []int64{1, 2}, ret[0].CollectionID)
|
||||
assert.Contains(t, []int64{1, 2}, ret[1].CollectionID)
|
||||
|
||||
ret, err = mt.listCollectionFromCache("db2", false)
|
||||
assert.NoError(t, err)
|
||||
|
Loading…
Reference in New Issue
Block a user