aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorazevaykin <azevaykin@yandex-team.com>2023-06-13 09:00:46 +0300
committerazevaykin <azevaykin@yandex-team.com>2023-06-13 09:00:46 +0300
commit8bfdfa9a9bd19bddbc58d888e180fbd1218681be (patch)
tree7355bd6f5473e502175c9f0d4d61199630fff696
parent640dbbe9b05b4b54bef29c5e3cf25d73bdcaf4a7 (diff)
downloadydb-8bfdfa9a9bd19bddbc58d888e180fbd1218681be.tar.gz
Additional logs
-rw-r--r--ydb/core/testlib/test_client.cpp11
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());
}