Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented May 22, 2018

Motivation:

apple/swift-nio#421 changed the behaviour of EmbeddedChannel to no longer
automatically succeed write promises without flushes. This is a reasonable
behavioural change, but broke a test that was working around but still
implicitly relied on the old behaviour.

Modifications:

Add the missing flushes.

Result:

This test will pass both on NIO master and NIO 1.7.0

Motivation:

apple/swift-nio#421 changed the behaviour of EmbeddedChannel to no longer
automatically succeed write promises without flushes. This is a reasonable
behavioural change, but broke a test that was working around but still
implicitly relied on the old behaviour.

Modifications:

Add the missing flushes.

Result:

This test will pass both on NIO master and NIO 1.7.0
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label May 22, 2018
@Lukasa Lukasa modified the milestones: 1.1.0, 1.1.1 May 22, 2018
Copy link
Member

@weissi weissi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that looks good, sorry for breaking

@weissi weissi merged commit 0adc938 into apple:master May 22, 2018
@Lukasa Lukasa deleted the cb-flush-embedded-channel branch May 22, 2018 15:43
Copy link
Member

@normanmaurer normanmaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants