diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-01-25 11:06:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-25 11:06:46 +0100 |
commit | 00863d967d0eb56bb73b0418b91c82f1615445f5 (patch) | |
tree | ae1a6775c6f540be30770b0b90755f4624e8f9ae /searchcore | |
parent | 8a864f26c96240f829f1a65d9105e3c8734f2d92 (diff) | |
parent | 2b682b9a6dab1dd27ca9fae8cb62cfc678f5bafa (diff) |
Merge pull request #8172 from vespa-engine/toregge/cap-fixed-source-selector-on-load
Cap sources in FixedSourceSelector on load.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/tests/proton/index/fusionrunner_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/index/fusionrunner_test.cpp b/searchcore/src/tests/proton/index/fusionrunner_test.cpp index 650b263ff75..be41aa96efd 100644 --- a/searchcore/src/tests/proton/index/fusionrunner_test.cpp +++ b/searchcore/src/tests/proton/index/fusionrunner_test.cpp @@ -165,6 +165,7 @@ void Test::createIndex(const string &dir, uint32_t id, bool fusion) { _fusion_spec.flush_ids.push_back(id); } const string index_dir = ost.str(); + _selector->setDefaultSource(id - _selector->getBaseId()); Schema schema = getSchema(); DocBuilder doc_builder(schema); |