diff options
author | azevaykin <azevaykin@yandex-team.com> | 2023-06-13 09:00:46 +0300 |
---|---|---|
committer | azevaykin <azevaykin@yandex-team.com> | 2023-06-13 09:00:46 +0300 |
commit | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (patch) | |
tree | 7355bd6f5473e502175c9f0d4d61199630fff696 | |
parent | 640dbbe9b05b4b54bef29c5e3cf25d73bdcaf4a7 (diff) | |
download | ydb-8bfdfa9a9bd19bddbc58d888e180fbd1218681be.tar.gz |
Additional logs
-rw-r--r-- | ydb/core/testlib/test_client.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ydb/core/testlib/test_client.cpp b/ydb/core/testlib/test_client.cpp index ce8e8a66c1..741b9c297e 100644 --- a/ydb/core/testlib/test_client.cpp +++ b/ydb/core/testlib/test_client.cpp @@ -1193,10 +1193,13 @@ namespace Tests { void TClient::WaitRootIsUp(const TString& root) { while (true) { + Cerr << "WaitRootIsUp '" << root << "'..." << Endl; + TAutoPtr<NMsgBusProxy::TBusResponse> resp = Ls(root); UNIT_ASSERT(resp); if (resp->Record.GetStatus() == NMsgBusProxy::MSTATUS_OK && resp->Record.GetSchemeStatus() == NKikimrScheme::StatusSuccess) { + Cerr << "WaitRootIsUp '" << root << "' success." << Endl; break; } } @@ -1830,15 +1833,17 @@ namespace Tests { } TAutoPtr<NMsgBusProxy::TBusResponse> TClient::LsImpl(const TString& path) { + Cerr << "TClient::Ls request: " << path << Endl; + TAutoPtr<NMsgBusProxy::TBusSchemeDescribe> request(new NMsgBusProxy::TBusSchemeDescribe()); request->Record.SetPath(path); request->Record.MutableOptions()->SetShowPrivateTable(true); TAutoPtr<NBus::TBusMessage> reply; NBus::EMessageStatus msgStatus = SendWhenReady(request, reply); UNIT_ASSERT_VALUES_EQUAL(msgStatus, NBus::MESSAGE_OK); -#ifndef NDEBUG - Cerr << "TClient::Ls: " << PrintResult<NMsgBusProxy::TBusResponse>(reply.Get()) << Endl; -#endif + + Cerr << "TClient::Ls response: " << PrintResult<NMsgBusProxy::TBusResponse>(reply.Get()) << Endl; + return dynamic_cast<NMsgBusProxy::TBusResponse*>(reply.Release()); } |