We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ENETUNREACH
1 parent f9bc429 commit a1ae8d1Copy full SHA for a1ae8d1
tests/TcpConnectorTest.php
@@ -147,14 +147,7 @@ public function connectionToInvalidNetworkShouldFailWithUnreachableError()
147
'Connection to ' . $address . ' failed: ' . (function_exists('socket_strerror') ? socket_strerror($enetunreach) . ' (ENETUNREACH)' : 'Network is unreachable'),
148
$enetunreach
149
);
150
-
151
- try {
152
- Block\await($promise, null, self::TIMEOUT);
153
- } catch (\Exception $e) {
154
- fclose($client);
155
156
- throw $e;
157
- }
+ Block\await($promise, null, self::TIMEOUT);
158
}
159
160
/** @test */
0 commit comments