diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc index c294d594541..111a1a4f2f5 100644 --- a/test/cpp/end2end/end2end_test.cc +++ b/test/cpp/end2end/end2end_test.cc @@ -1089,7 +1089,7 @@ TEST_F(End2endTest, ChannelStateTimeout) { auto state = GRPC_CHANNEL_IDLE; for (int i = 0; i < 10; i++) { channel->WaitForStateChange(state, std::chrono::system_clock::now() + - std::chrono::milliseconds(1000)); + std::chrono::seconds(1)); state = channel->GetState(false); } }