Fix flaky test

Assertation could be false if the server responds quickly enough (it's
unlikely to). Removing the assert does not change the nature of the
test.
pull/2164/head
Craig Tiller 10 years ago
parent 8222b19eb1
commit 8cca4694ee
  1. 3
      test/cpp/end2end/client_crash_test.cc

@ -140,7 +140,8 @@ TEST_F(CrashTest, KillAfterWrite) {
KillServer();
EXPECT_FALSE(stream->Read(&response));
// This may succeed or fail depending on how quick the server was
stream->Read(&response);
EXPECT_FALSE(stream->Finish().ok());
}

Loading…
Cancel
Save