-
Notifications
You must be signed in to change notification settings - Fork 523
Conversation
@@ -91,23 +91,27 @@ public class KeepAliveTimeoutTests | |||
{ | |||
using (var connection = new TestConnection(server.Port)) | |||
{ | |||
for (var i = 0; i < 10; i++) | |||
for (var i = 0; i < 11; i++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
11? Why not 10?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Goes to 11? https://www.youtube.com/watch?v=KOO5S4vxi0o 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pakrym Ha, that's not necessary. I had it in my head that the keep-alive timeout I was using for the tests was 30s, but it's 10s. With the short delay being 3s I'd need 11 iterations to make sure I was getting past the timeout.
e63ba38
to
5b20652
Compare
Updated. |
Travis failure is unrelated. |
⌚ |
|
@CesarBS: I thought we decided the keepalive should apply to both requests and responses, so the original test is actually better. Is this fix temporary until the keepalive behavior can be changed? |
That's right, it's temporary. The timeout implementation needs to be revisited, but this keeps the CI good for now. |
@halter73 @pakrym