diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
commit | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch) | |
tree | 26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /library/cpp/messagebus/rain_check | |
parent | cb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff) | |
download | ydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/rain_check')
-rw-r--r-- | library/cpp/messagebus/rain_check/http/client.cpp | 2 | ||||
-rw-r--r-- | library/cpp/messagebus/rain_check/http/client_ut.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/messagebus/rain_check/http/client.cpp b/library/cpp/messagebus/rain_check/http/client.cpp index 5ef5ceeece..f27f4d0346 100644 --- a/library/cpp/messagebus/rain_check/http/client.cpp +++ b/library/cpp/messagebus/rain_check/http/client.cpp @@ -74,7 +74,7 @@ namespace NRainCheck { THolder<THttpCallback> callback(new THttpCallback(future)); NNeh::TServiceStatRef stat; try { - NNeh::TMessage msg(addr.replace(0, NNeh::TParsedLocation(addr).Scheme.size(), "post"), data); + NNeh::TMessage msg(addr.replace(0, NNeh::TParsedLocation(addr).Scheme.size(), "post"), data); TStringStream headersText; headers.OutTo(&headersText); NNeh::NHttp::MakeFullRequest(msg, headersText.Str(), TString()); diff --git a/library/cpp/messagebus/rain_check/http/client_ut.cpp b/library/cpp/messagebus/rain_check/http/client_ut.cpp index 1628114391..95cf61d9db 100644 --- a/library/cpp/messagebus/rain_check/http/client_ut.cpp +++ b/library/cpp/messagebus/rain_check/http/client_ut.cpp @@ -41,11 +41,11 @@ namespace { const TString TEST_POST_RECV = "POST was ok."; TString BuildServiceLocation(ui32 port) { - return Sprintf("http://*:%" PRIu32 "/%s", port, TEST_SERVICE.data()); + return Sprintf("http://*:%" PRIu32 "/%s", port, TEST_SERVICE.data()); } TString BuildPostServiceLocation(ui32 port) { - return Sprintf("post://*:%" PRIu32 "/%s", port + 1, TEST_SERVICE.data()); + return Sprintf("post://*:%" PRIu32 "/%s", port + 1, TEST_SERVICE.data()); } TString BuildGetTestRequest(ui32 port) { @@ -74,7 +74,7 @@ namespace { const int THR_POOL_SIZE = 2; runner->ForkLoop(THR_POOL_SIZE); } catch (...) { - Y_FAIL("Can't run server: %s", CurrentExceptionMessage().data()); + Y_FAIL("Can't run server: %s", CurrentExceptionMessage().data()); } return runner; |