Skip to content

test: Add AsyncEventLoop and executor tests#6

Merged
scottmarchant merged 1 commit intomainfrom
test/testAELAndAELExecutor
Dec 5, 2025
Merged

test: Add AsyncEventLoop and executor tests#6
scottmarchant merged 1 commit intomainfrom
test/testAELAndAELExecutor

Conversation

@scottmarchant
Copy link
Copy Markdown
Collaborator

@scottmarchant scottmarchant commented Dec 2, 2025

Summary

Ported tests from NIOPosix that test the implementations of AsyncEventLoop and MultiThreadedEventLoopGroup in NIOAsyncRuntime. The AsyncEventLoopExecutor is also tested intrinsically.

ℹ️ Because these tests are ported, we prefer to keep them in their current format and implementation to make comparison with tests in NIOPosix easier down the road. At some point, if NIOAsyncRuntime is ever merged into swift-nio, the tests may be consolidated.

Details

  • e43ca9c test: Add tests for AsyncEventLoop and AsyncEventLoopExecutor. The vast majority of these tests were ported from NIOPosix tests for SelectableEventLoop, which AsyncEventLoop replaces.

PR Dependencies

#5

Overview of all changes

All planned changes can be viewed together in #2

Base automatically changed from chore/addTestUtils to main December 5, 2025 00:34
…st majority of these tests were ported from NIOPosix tests for SelectableEventLoop, which AsyncEventLoop replaces.
@scottmarchant scottmarchant force-pushed the test/testAELAndAELExecutor branch from bc64955 to 73eb0de Compare December 5, 2025 01:00
@scottmarchant scottmarchant merged commit eae16a6 into main Dec 5, 2025
23 checks passed
@scottmarchant scottmarchant deleted the test/testAELAndAELExecutor branch December 5, 2025 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants