aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkungurtsev <kungasc@ydb.tech>2024-12-11 11:48:48 +0100
committerGitHub <noreply@github.com>2024-12-11 11:48:48 +0100
commit6ed9d1ba01c2817da7c3dc76ec1d5c284029367b (patch)
tree3b419ada23723ac07e1c84e155128ef884d0bd7c
parente838a6204338f32ee77d077e0c4ed85a379d1d95 (diff)
downloadydb-6ed9d1ba01c2817da7c3dc76ec1d5c284029367b.tar.gz
Enable SystemView.Nodes test (#12499)
-rw-r--r--ydb/core/sys_view/ut/ya.make (renamed from ydb/core/sys_view/ut_kqp/ya.make)0
-rw-r--r--ydb/core/sys_view/ut_kqp.cpp8
-rw-r--r--ydb/core/sys_view/ya.make2
3 files changed, 2 insertions, 8 deletions
diff --git a/ydb/core/sys_view/ut_kqp/ya.make b/ydb/core/sys_view/ut/ya.make
index c25815116d8..c25815116d8 100644
--- a/ydb/core/sys_view/ut_kqp/ya.make
+++ b/ydb/core/sys_view/ut/ya.make
diff --git a/ydb/core/sys_view/ut_kqp.cpp b/ydb/core/sys_view/ut_kqp.cpp
index b7f04fa3552..004747b0fd4 100644
--- a/ydb/core/sys_view/ut_kqp.cpp
+++ b/ydb/core/sys_view/ut_kqp.cpp
@@ -338,8 +338,6 @@ Y_UNIT_TEST_SUITE(SystemView) {
}
Y_UNIT_TEST(Nodes) {
- return; // table is currenty switched off
-
TTestEnv env;
CreateTenantsAndTables(env, false);
TTableClient client(env.GetDriver());
@@ -386,11 +384,7 @@ Y_UNIT_TEST_SUITE(SystemView) {
ui32 offset = env.GetServer().GetRuntime()->GetNodeId(0);
auto expected = Sprintf(R"([
[["::1"];[%du]];
- [["::1"];[%du]];
- [["::1"];[%du]];
- [["::1"];[%du]];
- [["::1"];[%du]];
- ])", offset, offset + 1, offset + 2, offset + 3, offset + 4);
+ ])", offset);
NKqp::CompareYson(expected, NKqp::StreamResultToYson(it));
}
diff --git a/ydb/core/sys_view/ya.make b/ydb/core/sys_view/ya.make
index 87858dbd5f4..df596d8438c 100644
--- a/ydb/core/sys_view/ya.make
+++ b/ydb/core/sys_view/ya.make
@@ -36,5 +36,5 @@ RECURSE(
)
RECURSE_FOR_TESTS(
- ut_kqp
+ ut
)