Skip to content

Commit

Permalink
Merge pull request #3364 from canonical/fix-client-test-race
Browse files Browse the repository at this point in the history
[client/common] Increase deadline timeout
  • Loading branch information
luis4a0 authored Jan 12, 2024
2 parents 01db61f + 9f9b855 commit 5c2d04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/common/client_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ std::shared_ptr<grpc::Channel> create_channel_and_validate(const std::string& se
mp::Rpc::Stub stub{rpc_channel};

grpc::ClientContext context;
auto deadline = std::chrono::system_clock::now() + std::chrono::milliseconds(100); // should be enough...
auto deadline = std::chrono::system_clock::now() + std::chrono::milliseconds(500); // should be enough...
context.set_deadline(deadline);

mp::PingRequest request;
Expand Down

0 comments on commit 5c2d04e

Please sign in to comment.