aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/index
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2017-03-17 13:45:59 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2017-03-17 13:45:59 +0000
commit4c4291043b03b292b7e9cbb44056d9388b2473f4 (patch)
treecb7a244ba920830f672b55943492cb90e596a957 /searchcore/src/tests/proton/index
parent8b8d2fd29f88296fc6b50074e9de7c6a237a6c4c (diff)
Add serial number to index maintainer setSchema method, to allow for
implicit immediate history wipe later on.
Diffstat (limited to 'searchcore/src/tests/proton/index')
-rw-r--r--searchcore/src/tests/proton/index/indexmanager_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/index/indexmanager_test.cpp b/searchcore/src/tests/proton/index/indexmanager_test.cpp
index 77d52d46cb4..b1081eb3338 100644
--- a/searchcore/src/tests/proton/index/indexmanager_test.cpp
+++ b/searchcore/src/tests/proton/index/indexmanager_test.cpp
@@ -694,7 +694,7 @@ TEST_F("require that wipeHistory updates schema on disk", Fixture) {
Schema empty_schema;
f.addDocument(docid);
f.flushIndexManager();
- f.runAsMaster([&]() { f._index_manager->setSchema(empty_schema); });
+ f.runAsMaster([&]() { f._index_manager->setSchema(empty_schema, 1000); });
f.addDocument(docid);
f.flushIndexManager();