Skip to content

Commit ea77448

Browse files
committed
[3.0] Downgrade Ubuntu runners to 22.04
Running the test suite on PHP 8+ results in the following two errors on Ubuntu 24.04. This PR doesn't aim to fix those errors, but to ensure we have a working CI test environment. ``` There were 2 failures: 1) React\Tests\Dns\Query\TcpTransportExecutorTest::testQueryStaysPendingWhenClientCanNotSendExcessiveMessageInOneChunkWhenServerClosesSocket React\EventLoop\LoopInterface::removeWriteStream(resource(545) of type (stream)) was not expected to be called. /home/runner/work/dns/dns/src/Query/TcpTransportExecutor.php:273 /home/runner/work/dns/dns/tests/Query/TcpTransportExecutorTest.php:347 2) React\Tests\Dns\Query\TcpTransportExecutorTest::testQueryRejectsWhenClientKeepsSendingWhenServerClosesSocketWithoutCallingCustomErrorHandler Failed asserting that exception of type "Error" matches expected exception "RuntimeException". Message was: "Can only throw objects" at /home/runner/work/dns/dns/tests/Query/TcpTransportExecutorTest.php:413 ```
1 parent 8b15da7 commit ea77448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
PHPUnit:
99
name: PHPUnit (PHP ${{ matrix.php }})
10-
runs-on: ubuntu-24.04
10+
runs-on: ubuntu-22.04
1111
strategy:
1212
matrix:
1313
php:

0 commit comments

Comments
 (0)