From dbb12a0b547914024316b6eb510069e900680e42 Mon Sep 17 00:00:00 2001 From: Sean Quah <8349537+squahtx@users.noreply.github.com> Date: Tue, 10 May 2022 14:06:56 +0100 Subject: Add helper class for testing request cancellation (#12630) 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 --- changelog.d/12630.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/12630.misc (limited to 'changelog.d') diff --git a/changelog.d/12630.misc b/changelog.d/12630.misc new file mode 100644 index 0000000000..43e12603e2 --- /dev/null +++ b/changelog.d/12630.misc @@ -0,0 +1 @@ +Add a helper class for testing request cancellation. -- cgit 1.4.1