Skip to content

Conversation

@JamesNK
Copy link
Member

@JamesNK JamesNK commented Jul 24, 2021

@JamesNK JamesNK changed the title Quarantine StreamPool_MultipleStreamsInSequence_PooledStreamReused Fix flaky StreamPool_MultipleStreamsInSequence_PooledStreamReused Jul 24, 2021
[Theory]
[InlineData(10)]
[InlineData(100)]
[InlineData(1000)]
Copy link
Member

Choose a reason for hiding this comment

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

Are these numbers significant for any reason? Why does testing two requests as above not give us sufficient coverage? I know these are really fast, but how long does it take to complete 1000 requests in sequence?

Copy link
Member Author

Choose a reason for hiding this comment

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

No significance. 1000 takes less than a second. I wanted a test that stresses pooling and makes thread-safety issues fail reliable.

@JamesNK JamesNK changed the title Fix flaky StreamPool_MultipleStreamsInSequence_PooledStreamReused Fix StreamPool_MultipleStreamsInSequence_PooledStreamReused Jul 26, 2021
@JamesNK JamesNK merged commit 04c7c65 into main Jul 26, 2021
@JamesNK JamesNK deleted the jamesnk/http3-streampool-flakytest branch July 26, 2021 21:11
@ghost ghost added this to the 6.0-rc1 milestone Jul 26, 2021
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants