From 7d03b231c7e8e086956096f6ca961f82c684ed0b Mon Sep 17 00:00:00 2001 From: htuch Date: Wed, 14 Mar 2018 11:57:10 -0400 Subject: [PATCH] build: fix build break in #2790. (#2806) Some absl::optional changes missed due to not being merged with #2688. Signed-off-by: Harvey Tuch --- test/common/http/conn_manager_impl_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/http/conn_manager_impl_test.cc b/test/common/http/conn_manager_impl_test.cc index fd22f726345b..1efcd5d0fcc7 100644 --- a/test/common/http/conn_manager_impl_test.cc +++ b/test/common/http/conn_manager_impl_test.cc @@ -929,7 +929,7 @@ TEST_F(HttpConnectionManagerImplTest, TestAccessLogWithInvalidRequest) { EXPECT_CALL(*handler, log(_, _, _)) .WillOnce(Invoke( [](const HeaderMap*, const HeaderMap*, const RequestInfo::RequestInfo& request_info) { - EXPECT_TRUE(request_info.responseCode().valid()); + EXPECT_TRUE(request_info.responseCode()); EXPECT_EQ(request_info.responseCode().value(), uint32_t(400)); EXPECT_NE(nullptr, request_info.downstreamLocalAddress()); EXPECT_NE(nullptr, request_info.downstreamRemoteAddress());