Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Aug 4, 2025

Motivation:

testSimpleGetRequest asserts right after submitting the request for execution that no streams have been closed. While unlikely there's nothing to prevent this assertion from failing (and indeed it has failed): the request may have executed immediately and the stream closed before checking the delegate.

Modifications:

  • Remove the assertion

Result:

Tests are less flaky

Motivation:

testSimpleGetRequest asserts right after submitting the request for
execution that no streams have been closed. While unlikely there's
nothing to prevent this assertion from failing (and indeed it has
failed): the request may have executed immediately and the stream closed
before checking the delegate.

Modifications:

- Remove the assertion

Result:

Tests are less flaky
@glbrntt glbrntt added the semver/none No version bump required. label Aug 4, 2025
@glbrntt glbrntt merged commit 2edac1d into swift-server:main Aug 4, 2025
31 checks passed
@glbrntt glbrntt deleted the test-simple-get branch August 4, 2025 09:41
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