diff options
author | Craig Tiller <ctiller@google.com> | 2015-02-09 16:27:22 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-02-09 16:27:22 -0800 |
commit | 4d0fb5f1c01a6ef51ddb83c1902622c7bf00321c (patch) | |
tree | c44c5785a998cd139e8a537faeea1993522eaff0 /test/cpp/end2end | |
parent | f8ac5d846c26b4b83828117ec20f13b61b998e32 (diff) |
Fixup callers with new api
Diffstat (limited to 'test/cpp/end2end')
-rw-r--r-- | test/cpp/end2end/end2end_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc index 94a04aed37..52deb0f32d 100644 --- a/test/cpp/end2end/end2end_test.cc +++ b/test/cpp/end2end/end2end_test.cc @@ -332,7 +332,7 @@ TEST_F(End2endTest, ResponseStream) { EXPECT_EQ(response.message(), request.message() + "2"); EXPECT_FALSE(stream->Read(&response)); - Status s = stream->Wait(); + Status s = stream->Finish(); EXPECT_TRUE(s.IsOk()); delete stream; @@ -366,7 +366,7 @@ TEST_F(End2endTest, BidiStream) { stream->WritesDone(); EXPECT_FALSE(stream->Read(&response)); - Status s = stream->Wait(); + Status s = stream->Finish(); EXPECT_TRUE(s.IsOk()); delete stream; @@ -422,7 +422,7 @@ TEST_F(End2endTest, BadCredentials) { ClientContext context2; ClientReaderWriter<EchoRequest, EchoResponse>* stream = stub->BidiStream(&context2); - s = stream->Wait(); + s = stream->Finish(); EXPECT_FALSE(s.IsOk()); EXPECT_EQ(StatusCode::UNKNOWN, s.code()); EXPECT_EQ("Rpc sent on a lame channel.", s.details()); |