-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Test cancellation at every await
during request handling
#12674
Commits on May 13, 2022
-
Add
_test_cancellation_at_every_await
helper methodSigned-off-by: Sean Quah <seanq@element.io>
Sean Quah authored and Sean Quah committedMay 13, 2022 Configuration menu - View commit details
-
Copy full SHA for ee4b420 - Browse repository at this point
Copy the full SHA ee4b420View commit details -
Fix mypy thinking
RoomBase.servlets
is aList[function]
Signed-off-by: Sean Quah <seanq@element.io>
Sean Quah authored and Sean Quah committedMay 13, 2022 Configuration menu - View commit details
-
Copy full SHA for 92045c8 - Browse repository at this point
Copy the full SHA 92045c8View commit details -
Add tests for
/rooms/<room_id>/members
cancellationSigned-off-by: Sean Quah <seanq@element.io>
Sean Quah authored and Sean Quah committedMay 13, 2022 Configuration menu - View commit details
-
Copy full SHA for 97b6b1e - Browse repository at this point
Copy the full SHA 97b6b1eView commit details -
Add tests for
/rooms/<room_id>/state
cancellationSigned-off-by: Sean Quah <seanq@element.io>
Sean Quah authored and Sean Quah committedMay 13, 2022 Configuration menu - View commit details
-
Copy full SHA for 8d7b495 - Browse repository at this point
Copy the full SHA 8d7b495View commit details -
Sean Quah authored and Sean Quah committed
May 13, 2022 Configuration menu - View commit details
-
Copy full SHA for b7aa039 - Browse repository at this point
Copy the full SHA b7aa039View commit details
Commits on May 27, 2022
-
Merge remote-tracking branch 'origin/develop' into squah/test_cancell…
…ation_at_every_await
Sean Quah committedMay 27, 2022 Configuration menu - View commit details
-
Copy full SHA for 91376e9 - Browse repository at this point
Copy the full SHA 91376e9View commit details -
Sean Quah committed
May 27, 2022 Configuration menu - View commit details
-
Copy full SHA for c980eff - Browse repository at this point
Copy the full SHA c980effView commit details
Commits on May 31, 2022
-
Reword failure message about
await_result=False
Sean Quah committedMay 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 4bf4738 - Browse repository at this point
Copy the full SHA 4bf4738View commit details -
Sean Quah committed
May 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 85a051e - Browse repository at this point
Copy the full SHA 85a051eView commit details -
Use
reactor.advance()
instead ofreactor.pump()
Sean Quah committedMay 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 1ec2689 - Browse repository at this point
Copy the full SHA 1ec2689View commit details -
Sean Quah committed
May 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 2cc45c3 - Browse repository at this point
Copy the full SHA 2cc45c3View commit details -
Un-instance method a bunch of functions
Sean Quah committedMay 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 9543d43 - Browse repository at this point
Copy the full SHA 9543d43View commit details -
Return a
FakeChannel
from_test_cancellation_at_every_await
and l……et the caller test the status code
Sean Quah committedMay 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 74a6bc7 - Browse repository at this point
Copy the full SHA 74a6bc7View commit details -
Turn
create_deferred___next___patch
and its return values into an o……bject
Sean Quah committedMay 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 18dc8c0 - Browse repository at this point
Copy the full SHA 18dc8c0View commit details -
Raise
AssertionError
s ourselvesSean Quah committedMay 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 9955d92 - Browse repository at this point
Copy the full SHA 9955d92View commit details -
Un-instance method
_test_cancellation_at_every_await
Sean Quah committedMay 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 32dc933 - Browse repository at this point
Copy the full SHA 32dc933View commit details -
Revert "Fix mypy thinking
RoomBase.servlets
is aList[function]
"This reverts commit 92045c8.
Sean Quah committedMay 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 633c48f - Browse repository at this point
Copy the full SHA 633c48fView commit details -
Rename
test_cancellation_at_every_await
to `make_request_with_cance……llation_test` and have it make the request
Sean Quah committedMay 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 2f4aeee - Browse repository at this point
Copy the full SHA 2f4aeeeView commit details
Commits on Jun 1, 2022
-
Fix out-of-date docstring args
Sean Quah committedJun 1, 2022 Configuration menu - View commit details
-
Copy full SHA for fa6245a - Browse repository at this point
Copy the full SHA fa6245aView commit details -
Replace
ThreadedMemoryReactorClock
withMemoryReactorClock
Sean Quah committedJun 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 3a73d6f - Browse repository at this point
Copy the full SHA 3a73d6fView commit details -
Update docstring about
Deferred.__next__
's behaviourSean Quah committedJun 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 39ed2b3 - Browse repository at this point
Copy the full SHA 39ed2b3View commit details -
Outdent the if blocks in the
Deferred.__next__
patchSean Quah committedJun 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 1ff9391 - Browse repository at this point
Copy the full SHA 1ff9391View commit details -
Use
channel.await_result()
instead ofreactor.advance()
on final ……request
Sean Quah committedJun 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 9ebcf38 - Browse repository at this point
Copy the full SHA 9ebcf38View commit details -
Take the status code from the
Request
instead of the `respond_with_……json` mock
Sean Quah committedJun 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 2a5b800 - Browse repository at this point
Copy the full SHA 2a5b800View commit details -
Reword comments about re-starting of finished logging contexts
Sean Quah committedJun 1, 2022 Configuration menu - View commit details
-
Copy full SHA for a3e9cce - Browse repository at this point
Copy the full SHA a3e9cceView commit details -
When waiting for a response after a disconnect, try unblocking awaits…
… that we forced to block
Sean Quah committedJun 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 1223c2d - Browse repository at this point
Copy the full SHA 1223c2dView commit details