Skip to content

Commit b1dee1e

Browse files
authored
Avoid failing test by using invalid DNS resolver IP instead of h… (#210)
Avoid failing test by using invalid DNS resolver IP instead of hostname
2 parents 87e7633 + c29e1b3 commit b1dee1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/IntegrationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,12 @@ public function gettingPlaintextStuffFromEncryptedGoogleShouldNotWork()
9999
$this->assertNotRegExp('#^HTTP/1\.0#', $response);
100100
}
101101

102-
public function testConnectingFailsIfDnsUsesInvalidResolver()
102+
public function testConnectingFailsIfConnectorUsesInvalidDnsResolverAddress()
103103
{
104104
$loop = Factory::create();
105105

106106
$factory = new ResolverFactory();
107-
$dns = $factory->create('demo.invalid', $loop);
107+
$dns = $factory->create('255.255.255.255', $loop);
108108

109109
$connector = new Connector($loop, array(
110110
'dns' => $dns

0 commit comments

Comments
 (0)