File tree Expand file tree Collapse file tree 6 files changed +973
-1
lines changed Expand file tree Collapse file tree 6 files changed +973
-1
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,13 @@ endfunction()
6969
7070function (add_ydb_test)
7171 set (opts GTEST)
72+ <<<<<<< HEAD
7273 set (oneval_args NAME WORKING_DIRECTORY OUTPUT_DIRECTORY)
7374 set (multival_args INCLUDE_DIRS SOURCES LINK_LIBRARIES LABELS TEST_ARG)
75+ =======
76+ set (oneval_args NAME )
77+ set (multival_args SPLIT_FACTOR INCLUDE_DIRS SOURCES LINK_LIBRARIES LABELS )
78+ >>>>>>> 273b4fe0c (session_pool_ut)
7479 cmake_parse_arguments (YDB_TEST
7580 "${opts} "
7681 "${oneval_args} "
@@ -112,12 +117,16 @@ function(add_ydb_test)
112117 )
113118 endif ()
114119
120+ if (NOT DEFINED YDB_TEST_SPLIT_FACTOR)
121+ set (YDB_TEST_SPLIT_FACTOR "1" )
122+ endif ()
123+
115124 set_property (
116125 TARGET
117126 ${YDB_TEST_NAME}
118127 PROPERTY
119128 SPLIT_FACTOR
120- 1
129+ ${YDB_TEST_SPLIT_FACTOR}
121130 )
122131 if (YDB_TEST_GTEST)
123132 add_yunittest(
Original file line number Diff line number Diff line change 11add_subdirectory (client)
22add_subdirectory (library)
3+ add_subdirectory (sessions_pool)
Original file line number Diff line number Diff line change 1+ add_ydb_test(NAME sessions_pool_ut
2+ SPLIT_FACTOR 12
3+ SOURCES
4+ sessions_pool_ut.cpp
5+ LINK_LIBRARIES
6+ yutil
7+ cpp-testing-unittest_main
8+ YDB-CPP-SDK::Table
9+ api-grpc
10+ LABELS
11+ unit
12+ )
You can’t perform that action at this time.
0 commit comments