Fix delete node ut error (#8674)

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
This commit is contained in:
godchen 2021-09-27 17:07:58 +08:00 committed by GitHub
parent 8b76a8fa30
commit 51151b7b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ func Test_GetSegmentsByPKs(t *testing.T) {
4: {4, 5},
}
for key, value := range expected {
assert.EqualValues(t, value, results[key])
assert.ElementsMatch(t, value, results[key])
}
}