Skip to content

Commit 409d6eb

Browse files
committed
[3.x] Fix Ubuntu 24.04 issues
1 parent 967dac8 commit 409d6eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Query/TcpTransportExecutorTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public function testQueryRejectsWhenClientKeepsSendingWhenServerClosesSocketWith
372372

373373
// send a bunch of queries and keep reference to last promise
374374
$exception = null;
375-
for ($i = 0; $i < 2000; ++$i) {
375+
for ($i = 0; $i < 20000; ++$i) {
376376
$promise = $executor->query($query);
377377
$promise->then(null, function (\Exception $reason) use (&$exception) {
378378
$exception = $reason;
@@ -410,6 +410,7 @@ public function testQueryRejectsWhenClientKeepsSendingWhenServerClosesSocketWith
410410
'Unable to send query to DNS server tcp://' . $address . ' (',
411411
defined('SOCKET_EPIPE') ? (PHP_OS !== 'Darwin' || $writePending ? SOCKET_EPIPE : SOCKET_EPROTOTYPE) : null
412412
);
413+
var_export([$exception, (string)$exception]);
413414
throw $exception;
414415
}
415416

0 commit comments

Comments
 (0)