diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-01-28 13:31:52 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-01-28 13:31:52 +0000 |
commit | 5bd8e581fa4e60fc572daeaa8a5c72264eebec6c (patch) | |
tree | e05f7d8c095833c0d2ed7ab77b83ecddb4a7be4c /searchcore/src/tests/proton/documentdb/threading_service_config/threading_service_config_test.cpp | |
parent | f4303095fad0731b34638859c786320fb76251eb (diff) |
Use the concurrency in the document DB.
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/threading_service_config/threading_service_config_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/documentdb/threading_service_config/threading_service_config_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/documentdb/threading_service_config/threading_service_config_test.cpp b/searchcore/src/tests/proton/documentdb/threading_service_config/threading_service_config_test.cpp index 658ebe818eb..340619f09bd 100644 --- a/searchcore/src/tests/proton/documentdb/threading_service_config/threading_service_config_test.cpp +++ b/searchcore/src/tests/proton/documentdb/threading_service_config/threading_service_config_test.cpp @@ -22,11 +22,10 @@ struct Fixture { builder.indexing.threads = baseLineIndexingThreads; builder.indexing.tasklimit = 500; builder.indexing.semiunboundtasklimit = 50000; - builder.feeding.concurrency = 0.5; return builder; } ThreadingServiceConfig make(uint32_t cpuCores) { - return ThreadingServiceConfig::make(cfg, HwInfo::Cpu(cpuCores)); + return ThreadingServiceConfig::make(cfg, 0.5, HwInfo::Cpu(cpuCores)); } void assertIndexingThreads(uint32_t expIndexingThreads, uint32_t cpuCores) { EXPECT_EQUAL(expIndexingThreads, make(cpuCores).indexingThreads()); |