Commit ea77448
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
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments