aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/apps/tests/memoryindexstress_test.cpp
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@gmail.com>2020-01-03 09:31:32 +0100
committerGitHub <noreply@github.com>2020-01-03 09:31:32 +0100
commit5a89acb50b5c67b97f4039cf972808a6505ebd81 (patch)
tree6ff7626bc1ee78ae4d0361a6572b6eb16b61ba4e /searchlib/src/apps/tests/memoryindexstress_test.cpp
parent4bbac8adbf1d9e0f112f950323e5ca08eb6ba658 (diff)
Revert "Balder/add executeinfo"
Diffstat (limited to 'searchlib/src/apps/tests/memoryindexstress_test.cpp')
-rw-r--r--searchlib/src/apps/tests/memoryindexstress_test.cpp6
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;