Bug 1239870 - Part 4: Disable broken proxy tunnel tests. r=bwc

Several of the proxy tunnel tests are broken. The proxy tunnel test is also
not run in automation.
This commit is contained in:
Eric Rahm 2016-02-25 15:54:04 -08:00
parent 5ef735ab5d
commit 13e320b2d0

View File

@ -188,14 +188,16 @@ TEST_F(ProxyTunnelSocketTest, TestConnectProxyAddress) {
NR_TRANSPORT_ADDR_CMP_MODE_ALL));
}
TEST_F(ProxyTunnelSocketTest, TestConnectProxyRequest) {
// TODO: Reenable once bug 1251212 is fixed
TEST_F(ProxyTunnelSocketTest, DISABLED_TestConnectProxyRequest) {
Connect();
std::string msg = connect_message(kRemoteAddr, kRemotePort, "", kHelloMessage);
socket_impl_->CheckWriteBuffer(reinterpret_cast<const uint8_t *>(msg.c_str()), msg.size());
}
TEST_F(ProxyTunnelSocketTest, TestAlpnConnect) {
// TODO: Reenable once bug 1251212 is fixed
TEST_F(ProxyTunnelSocketTest, DISABLED_TestAlpnConnect) {
const std::string alpn = "this,is,alpn";
int r = nr_proxy_tunnel_config_set_alpn(config_, alpn.c_str());
EXPECT_EQ(0, r);
@ -207,7 +209,8 @@ TEST_F(ProxyTunnelSocketTest, TestAlpnConnect) {
socket_impl_->CheckWriteBuffer(reinterpret_cast<const uint8_t *>(msg.c_str()), msg.size());
}
TEST_F(ProxyTunnelSocketTest, TestNullAlpnConnect) {
// TODO: Reenable once bug 1251212 is fixed
TEST_F(ProxyTunnelSocketTest, DISABLED_TestNullAlpnConnect) {
int r = nr_proxy_tunnel_config_set_alpn(config_, nullptr);
EXPECT_EQ(0, r);
@ -218,7 +221,8 @@ TEST_F(ProxyTunnelSocketTest, TestNullAlpnConnect) {
socket_impl_->CheckWriteBuffer(reinterpret_cast<const uint8_t *>(msg.c_str()), msg.size());
}
TEST_F(ProxyTunnelSocketTest, TestConnectProxyHostRequest) {
// TODO: Reenable once bug 1251212 is fixed
TEST_F(ProxyTunnelSocketTest, DISABLED_TestConnectProxyHostRequest) {
nr_proxy_tunnel_config_set_proxy(config_, kProxyHost.c_str(), kProxyPort);
Configure();
// Because kProxyHost is a domain name and not an IP address,
@ -241,7 +245,8 @@ TEST_F(ProxyTunnelSocketTest, TestConnectProxyHostRequest) {
socket_impl_->CheckWriteBuffer(reinterpret_cast<const uint8_t *>(msg.c_str()), msg.size());
}
TEST_F(ProxyTunnelSocketTest, TestConnectProxyWrite) {
// TODO: Reenable once bug 1251212 is fixed
TEST_F(ProxyTunnelSocketTest, DISABLED_TestConnectProxyWrite) {
Connect();
socket_impl_->ClearWriteBuffer();