use seconds

pull/3378/head
yang-g 9 years ago
parent d886f33939
commit 5e8abedd61
  1. 2
      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);
}
}

Loading…
Cancel
Save