diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-06-26 10:13:45 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-06-26 10:13:45 +0000 |
commit | 7e20842be3eec0f0881749098a2c944e5a1a258e (patch) | |
tree | 304bb5e1f5bcd785d33ad6fbf89d20632454b691 /searchcore/src | |
parent | bb367946be112361611f62fb6803c5060cfe9dde (diff) |
Let getExecutorId be a pure interface.
Diffstat (limited to 'searchcore/src')
-rw-r--r-- | searchcore/src/tests/proton/attribute/attribute_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/attribute/attribute_test.cpp b/searchcore/src/tests/proton/attribute/attribute_test.cpp index 6a12d2daa20..258ee5f32d8 100644 --- a/searchcore/src/tests/proton/attribute/attribute_test.cpp +++ b/searchcore/src/tests/proton/attribute/attribute_test.cpp @@ -775,7 +775,7 @@ TEST_F(AttributeWriterTest, spreads_write_over_2_write_contexts) TEST_F(AttributeWriterTest, spreads_write_over_3_write_contexts) { setup(8); - putAttributes(*this, {0, 1, 2}); + putAttributes(*this, {0, 1, 3}); } struct MockPrepareResult : public PrepareResult { @@ -805,7 +805,7 @@ public: return std::make_unique<MockPrepareResult>(docid, tensor); } - virtual void complete_set_tensor(DocId docid, const Tensor& tensor, std::unique_ptr<PrepareResult> prepare_result) override { + void complete_set_tensor(DocId docid, const Tensor& tensor, std::unique_ptr<PrepareResult> prepare_result) override { ++complete_set_tensor_cnt; assert(prepare_result); auto* mock_result = dynamic_cast<MockPrepareResult*>(prepare_result.get()); |