php-sdk/tests/Unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christopher Hertel d8cc21a345
[Client] Implement setMaxRetries connection retries (#413)
* [Client] Implement setMaxRetries connection retries

* [Client] Reject a negative retry count in Configuration

* [Client] Use a positive init timeout in the retry test

* [Client] Drop redundant docblock note on setMaxRetries

* [Client] Clear the initialized flag on a failed connection

* [Client] Trim comments to the non-obvious ones

* [Client] Cover retries and timeout cleanup with integration tests

The retry fixture counts the processes it was started as, which is what
separates a real retry from a second call into the same server. The timeout
fixture outlives the client's patience and then goes idle, so the next
request runs on a connection the client already gave up on once.
2026-08-15 02:43:50 +02:00
..
Capability [Schema] Add resource_link content block (#400) 2026-08-14 23:20:56 +02:00
Client [Client][Schema][Server] Implement protocol version negotiation (#403) 2026-08-15 01:41:19 +02:00
Fixtures [Server] Handle malformed JSON-RPC input graceful (#412) 2026-08-14 22:34:01 +02:00
JsonRpc [Server] Handle malformed JSON-RPC input graceful (#412) 2026-08-14 22:34:01 +02:00
Schema [Client][Schema][Server] Implement protocol version negotiation (#403) 2026-08-15 01:41:19 +02:00
Server [Server] Add ClientGateway::supportsSampling() (#418) 2026-08-15 02:11:15 +02:00
ClientTest.php [Client] Implement setMaxRetries connection retries (#413) 2026-08-15 02:43:50 +02:00
ServerTest.php Update codestyle based on updated Symfony rules (#229) 2026-02-01 11:54:31 +01:00