Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test cancellation at every `await` during request handling (#12674) | Sean Quah | 2022-06-07 | 1 | -2/+450 |
| | | | | | | * Add tests for `/rooms/<room_id>/members` cancellation. * Add tests for `/rooms/<room_id>/state` cancellation. Signed-off-by: Sean Quah <seanq@element.io> | ||||
* | Add helper class for testing request cancellation (#12630) | Sean Quah | 2022-05-10 | 2 | -0/+113 |
Also expose the `SynapseRequest` from `FakeChannel` in tests, so that we can call `Request.connectionLost` to simulate a client disconnecting. Signed-off-by: Sean Quah <seanq@element.io> |