Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEST_P(IntegrationTest, Request) {
- config_helper_.addFilter(ConfigHelper::DEFAULT_HEALTH_CHECK_FILTER);
- initialize();
- codec_client_ = makeHttpConnection(lookupPort("http"));
- autonomous_upstream_ = true;
- auto response =
- codec_client_->makeHeaderOnlyRequest(Http::TestHeaderMapImpl{{":method", "CONNECT"},
- {":path", "/"},
- {":authority", "host"}});
- response->waitForEndStream();
- EXPECT_EQ("200", response->headers().Status()->value().getStringView());
- EXPECT_TRUE(response->complete());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement