Index: mojo/runner/shell_apptest.cc |
diff --git a/mojo/runner/shell_apptest.cc b/mojo/runner/shell_apptest.cc |
index 38519ef162ce92fe6db9ec180b58f12291990b07..a2bf37db4022aa3b20fc278992b4b8b47d3a78c9 100644 |
--- a/mojo/runner/shell_apptest.cc |
+++ b/mojo/runner/shell_apptest.cc |
@@ -91,13 +91,13 @@ class ShellHTTPAppTest : public test::ApplicationTestBase { |
local_address.Pass()); |
http_server_->GetPort([this](uint16_t p) { port_ = p; }); |
- EXPECT_TRUE(http_server_.WaitForIncomingMethodCall()); |
+ EXPECT_TRUE(http_server_.WaitForIncomingResponse()); |
InterfacePtr<http_server::HttpHandler> http_handler; |
handler_.reset(new GetHandler(GetProxy(&http_handler).Pass(), port_)); |
http_server_->SetHandler(".*", http_handler.Pass(), |
[](bool result) { EXPECT_TRUE(result); }); |
- EXPECT_TRUE(http_server_.WaitForIncomingMethodCall()); |
+ EXPECT_TRUE(http_server_.WaitForIncomingResponse()); |
} |
std::string GetURL(const std::string& path) { |