diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-06-09 11:54:14 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-06-09 12:04:50 +0300 |
commit | a83bd2dd3c21e38c6c0807ec5e679497ab567f24 (patch) | |
tree | 94f0587a50ab7476a622e391c2e698e4bb9ed964 /yt | |
parent | ec25b4e8449ebde3645c3851e6cbf031ea271c5d (diff) | |
download | ydb-a83bd2dd3c21e38c6c0807ec5e679497ab567f24.tar.gz |
Intermediate changes
Diffstat (limited to 'yt')
-rw-r--r-- | yt/yt/core/http/unittests/http_ut.cpp | 2 | ||||
-rw-r--r-- | yt/yt/library/process/process.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/core/http/unittests/http_ut.cpp b/yt/yt/core/http/unittests/http_ut.cpp index 8016b370ff..aedfa82e87 100644 --- a/yt/yt/core/http/unittests/http_ut.cpp +++ b/yt/yt/core/http/unittests/http_ut.cpp @@ -1447,7 +1447,7 @@ TEST_W(TCompressionTest, Roundtrip) auto compressingStream = CreateCompressingAdapter(asyncCompressedStream, encoding, GetCurrentInvoker()); size_t offset = 0; while (offset < payload.size()) { - size_t len = std::min((size_t)10, payload.size() - offset);//RandomNumber<size_t>(std::min(payload.size() - offset, static_cast<size_t>(100))) + 1; + size_t len = RandomNumber<size_t>(std::min(payload.size() - offset, static_cast<size_t>(100))) + 1; WaitFor(compressingStream->Write(TSharedRef(payload.data() + offset, len, nullptr))) .ThrowOnError(); offset += len; diff --git a/yt/yt/library/process/process.cpp b/yt/yt/library/process/process.cpp index 12f1be525a..3f9b2cab92 100644 --- a/yt/yt/library/process/process.cpp +++ b/yt/yt/library/process/process.cpp @@ -756,7 +756,7 @@ TFuture<void> TProcessBase::Spawn() DoSpawn(); } catch (const std::exception& ex) { FinishedPromise_.TrySet(TError(EProcessErrorCode::CannotStartProcess, - "Cannot spawn child process (Path: %v)", + "Cannot spawn child process %v", ResolvedPath_) << ex); } |