Skip to content

test that connection close whilst idle works#167

Merged
weissi merged 1 commit into
swift-server:masterfrom
weissi:jw-close-idle
Feb 26, 2020
Merged

test that connection close whilst idle works#167
weissi merged 1 commit into
swift-server:masterfrom
weissi:jw-close-idle

Conversation

@weissi

@weissi weissi commented Feb 25, 2020

Copy link
Copy Markdown
Contributor

Motivation:

I wasn't sure if we actually properly observed an idle connection
suddenly closing. Ideally, if an idle connection just goes away, we just
want to remove it from the connection pool (which is what happens).

Modification:

Add a test that verifies idle connections that get closed from the
server don't get reused in the pool.

Result:

Better test coverage for more complicated scenarios.

Motivation:

I wasn't sure if we actually properly observed an idle connection
suddenly closing. Ideally, if an idle connection just goes away, we just
want to remove it from the connection pool (which is what happens).

Modification:

Add a test that verifies idle connections that get closed from the
server don't get reused in the pool.

Result:

Better test coverage for more complicated scenarios.
@weissi
weissi requested a review from artemredkin February 25, 2020 18:58
@weissi

weissi commented Feb 25, 2020

Copy link
Copy Markdown
Contributor Author

CC @adtrevor

@weissi
weissi merged commit 7768d23 into swift-server:master Feb 26, 2020
@weissi
weissi deleted the jw-close-idle branch February 26, 2020 16:11
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.

2 participants