diff options
Diffstat (limited to 'searchlib/src/apps/tests/memoryindexstress_test.cpp')
-rw-r--r-- | searchlib/src/apps/tests/memoryindexstress_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/apps/tests/memoryindexstress_test.cpp b/searchlib/src/apps/tests/memoryindexstress_test.cpp index a7689cd6b9f..1571cef630b 100644 --- a/searchlib/src/apps/tests/memoryindexstress_test.cpp +++ b/searchlib/src/apps/tests/memoryindexstress_test.cpp @@ -323,9 +323,9 @@ Fixture::readWork(uint32_t cnt) } else { ++nonEmptyCount; } - result->fetchPostings(ExecuteInfo::TRUE); + result->fetchPostings(true); SearchIterator::UP search = result->createSearch(*match_data, true); - if (!EXPECT_TRUE(search)) { + if (!EXPECT_TRUE(search.get() != 0)) { LOG(error, "Did not get search iterator"); break; } @@ -418,7 +418,7 @@ verifyResult(const FakeResult &expect, EXPECT_EQUAL(expect.inspect().size(), result->getState().estimate().estHits); EXPECT_EQUAL(expect.inspect().empty(), result->getState().estimate().empty); - result->fetchPostings(ExecuteInfo::TRUE); + result->fetchPostings(true); SearchIterator::UP search = result->createSearch(*match_data, true); if (!EXPECT_TRUE(search.get() != 0)) { return false; |