Fix unstable sealed segment bruteforce unittest (#25867)

Signed-off-by: yah01 <yah2er0ne@outlook.com>
This commit is contained in:
yah01 2023-07-25 09:05:00 +08:00 committed by GitHub
parent 1748c54fd7
commit 53c3bf053e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1127,7 +1127,7 @@ TEST(Sealed, BF) {
auto result = segment->Search(plan.get(), ph_group.get(), MAX_TIMESTAMP);
auto ves = SearchResultToVector(*result);
// first: offset, second: distance
EXPECT_GT(ves[0].first, 0);
EXPECT_GE(ves[0].first, 0);
EXPECT_LE(ves[0].first, N);
EXPECT_LE(ves[0].second, dim);