Skip to content

Commit

Permalink
fix grpc: increase grpc timeout test timings, one more
Browse files Browse the repository at this point in the history
commit_hash:3335304fe8cfd95d8cd44d00829a304645161404
  • Loading branch information
kpavlov00 committed Mar 7, 2025
1 parent 1470b2b commit 5e5a40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpc/tests/timeout_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class UnitTestService final : public sample::ugrpc::UnitTestServiceBase {
LOG_DEBUG() << request_counter_ << " request attempt: now=" << std::chrono::system_clock::now()
<< ", deadline=" << context.GetServerContext().deadline();
if (++request_counter_ % 4) {
engine::InterruptibleSleepFor(tests::kShortTimeout + tests::kAddSleep);
engine::InterruptibleSleepFor(tests::kShortTimeout * 2);
EXPECT_TRUE(context.GetServerContext().IsCancelled());
// this status should not reach client because of 'perAttemptRecvTimeout'
LOG_DEBUG() << request_counter_ << ": return ABORTED";
Expand Down

0 comments on commit 5e5a40a

Please sign in to comment.