aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/server/disk_mem_usage_sampler/CMakeLists.txt
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2021-03-25 15:27:51 +0000
committerGeir Storli <geirst@verizonmedia.com>2021-03-25 15:27:51 +0000
commitc3aae425971b8c4ee558a621e4edc512a6565d67 (patch)
tree8871db7e2587958ee352e24cb77f78873a60d76a /searchcore/src/tests/proton/server/disk_mem_usage_sampler/CMakeLists.txt
parent14694cc31cebd06e787a310d34c06aeb9b75b26c (diff)
Sample and expose the transient disk usage needed for running disk index fusion.
This is currently estimated as the size of the largest disk index among all document databases.
Diffstat (limited to 'searchcore/src/tests/proton/server/disk_mem_usage_sampler/CMakeLists.txt')
-rw-r--r--searchcore/src/tests/proton/server/disk_mem_usage_sampler/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/server/disk_mem_usage_sampler/CMakeLists.txt b/searchcore/src/tests/proton/server/disk_mem_usage_sampler/CMakeLists.txt
new file mode 100644
index 00000000000..ce1e3f30ebc
--- /dev/null
+++ b/searchcore/src/tests/proton/server/disk_mem_usage_sampler/CMakeLists.txt
@@ -0,0 +1,9 @@
+# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+vespa_add_executable(searchcore_disk_mem_usage_sampler_test_app TEST
+ SOURCES
+ disk_mem_usage_sampler_test.cpp
+ DEPENDS
+ searchcore_server
+ GTest::GTest
+)
+vespa_add_test(NAME searchcore_disk_mem_usage_sampler_test_app COMMAND searchcore_disk_mem_usage_sampler_test_app)