summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-01-13 23:50:34 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-01-13 23:50:34 +0000
commit78b2d4dd974e2a5d873d647cddfb2480c2396f34 (patch)
tree154f3f6f43eff5ccde293ef9498591c1096f4519 /vespalib
parentcf8521a2a3de19d473878359f77a7e096fa9cdec (diff)
- Add the cost to expensive tests.
- Use less resources on the fnet_parallel_rpc test bu just using as many threads as you have cores.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/tests/btree/CMakeLists.txt6
-rw-r--r--vespalib/src/tests/child_process/CMakeLists.txt2
-rw-r--r--vespalib/src/tests/left_right_heap/CMakeLists.txt2
3 files changed, 5 insertions, 5 deletions
diff --git a/vespalib/src/tests/btree/CMakeLists.txt b/vespalib/src/tests/btree/CMakeLists.txt
index b6bdcb5160e..23ad632b77b 100644
--- a/vespalib/src/tests/btree/CMakeLists.txt
+++ b/vespalib/src/tests/btree/CMakeLists.txt
@@ -5,21 +5,21 @@ vespa_add_executable(vespalib_btree_test_app TEST
DEPENDS
vespalib
)
-vespa_add_test(NAME vespalib_btree_test_app COMMAND vespalib_btree_test_app)
+vespa_add_test(NAME vespalib_btree_test_app COMMAND vespalib_btree_test_app COST 30)
vespa_add_executable(vespalib_frozenbtree_test_app TEST
SOURCES
frozenbtree_test.cpp
DEPENDS
vespalib
)
-vespa_add_test(NAME vespalib_frozenbtree_test_app COMMAND vespalib_frozenbtree_test_app)
+vespa_add_test(NAME vespalib_frozenbtree_test_app COMMAND vespalib_frozenbtree_test_app COST 30)
vespa_add_executable(vespalib_btreeaggregation_test_app TEST
SOURCES
btreeaggregation_test.cpp
DEPENDS
vespalib
)
-vespa_add_test(NAME vespalib_btreeaggregation_test_app COMMAND vespalib_btreeaggregation_test_app)
+vespa_add_test(NAME vespalib_btreeaggregation_test_app COMMAND vespalib_btreeaggregation_test_app COST 30)
vespa_add_executable(vespalib_iteratespeed_app
SOURCES
iteratespeed.cpp
diff --git a/vespalib/src/tests/child_process/CMakeLists.txt b/vespalib/src/tests/child_process/CMakeLists.txt
index 1c9af730510..f0b078d2dfc 100644
--- a/vespalib/src/tests/child_process/CMakeLists.txt
+++ b/vespalib/src/tests/child_process/CMakeLists.txt
@@ -5,4 +5,4 @@ vespa_add_executable(vespalib_child_process_test_app TEST
DEPENDS
vespalib
)
-vespa_add_test(NAME vespalib_child_process_test_app COMMAND vespalib_child_process_test_app)
+vespa_add_test(NAME vespalib_child_process_test_app COMMAND vespalib_child_process_test_app COST 30)
diff --git a/vespalib/src/tests/left_right_heap/CMakeLists.txt b/vespalib/src/tests/left_right_heap/CMakeLists.txt
index 9b435a46496..d2eac4f1802 100644
--- a/vespalib/src/tests/left_right_heap/CMakeLists.txt
+++ b/vespalib/src/tests/left_right_heap/CMakeLists.txt
@@ -5,7 +5,7 @@ vespa_add_executable(vespalib_left_right_heap_test_app TEST
DEPENDS
vespalib
)
-vespa_add_test(NAME vespalib_left_right_heap_test_app COMMAND vespalib_left_right_heap_test_app)
+vespa_add_test(NAME vespalib_left_right_heap_test_app COMMAND vespalib_left_right_heap_test_app COST 30)
vespa_add_executable(vespalib_left_right_heap_bench_app
SOURCES
left_right_heap_bench.cpp