diff options
author | gvit <gvit@ydb.tech> | 2023-01-23 02:23:39 +0300 |
---|---|---|
committer | gvit <gvit@ydb.tech> | 2023-01-23 02:23:39 +0300 |
commit | 5cffb2d039c9b82107932a286f68f65a2f81f0de (patch) | |
tree | e40d7d6d69b148687da0a2e4164a301430885069 | |
parent | 948aa31a84ddc9d1c9af38b159497c49ee11b44e (diff) | |
download | ydb-5cffb2d039c9b82107932a286f68f65a2f81f0de.tar.gz |
fix ut
-rw-r--r-- | ydb/core/cms/console/console_ut_tenants.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ydb/core/cms/console/console_ut_tenants.cpp b/ydb/core/cms/console/console_ut_tenants.cpp index 3ff5ed9531..807f8e4966 100644 --- a/ydb/core/cms/console/console_ut_tenants.cpp +++ b/ydb/core/cms/console/console_ut_tenants.cpp @@ -256,10 +256,6 @@ TString SendTenantCreationCommand( auto &unit = *request->Record.MutableRequest()->mutable_resources()->add_storage_units(); unit.set_unit_kind("hdd"); unit.set_count(1); - auto &comp = *request->Record.MutableRequest()->mutable_resources()->add_computational_units(); - comp.set_unit_kind(SLOT1_TYPE); - comp.set_availability_zone(ZONE1); - comp.set_count(1); if (idempotencyKey) { request->Record.MutableRequest()->set_idempotency_key(idempotencyKey); @@ -1693,10 +1689,11 @@ Y_UNIT_TEST_SUITE(TConsoleTests) { // with no TEvNotifyOperationCompletionResponse. CheckNotificationRequest(runtime, id, Ydb::StatusIds::GENERIC_ERROR); + RestartTenantPool(runtime); + CheckTenantStatus(runtime, TENANT1_1_NAME, Ydb::StatusIds::SUCCESS, Ydb::Cms::GetDatabaseStatusResult::RUNNING, - {{"hdd", 1, 1}}, {}, - SLOT1_TYPE, ZONE1, 1, 1); + {{"hdd", 1, 1}}, {}); // Send tenant removal command and store operation id. runtime.SetObserverFunc(CatchPoolEvent(captured)); |