Skip to content

Conversation

fabianfett
Copy link
Member

Motivation

To land the support for async/await, we need test utilities. We already have a MockRequestExecutor. Let's improve this to better handle on and off request processing.

Changes

  • Move MockRequestExecutor into its own file
  • Add blocking APIs to MockRequestExecutor when called from another thread

@fabianfett fabianfett added the semver/none No version bump required. label Dec 3, 2021
@fabianfett fabianfett requested a review from dnadoba December 3, 2021 13:04
@fabianfett
Copy link
Member Author

Nightly fails because of Sendable requirements.

@fabianfett fabianfett merged commit 65d97ff into swift-server:main Dec 3, 2021
@fabianfett fabianfett deleted the ff-request-executor-tests branch December 3, 2021 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants