New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
start to count time since the connection was actually established #116176
Conversation
Change-Id: Ib4986fb362600b760a4a853513d739f2d665836e
/assign @liggitt |
clSPDYConn, err := NewClientConnection(clConn) | ||
if err != nil { | ||
t.Fatalf("client: error creating spdy connection: %v", err) | ||
} | ||
defer clSPDYConn.Close() | ||
start := time.Now() |
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.
see line 278, it uses this time to define a period where we can count the number of pings, but if the connection takes more than 3*pingPeriod to be established, then this test will fail
/assign @lavalamp |
looks plausible... was the flake reproducible with stress before and fixed with this change? |
couldn't reproduce the flake locally |
ok /lgtm |
LGTM label has been added. Git tree hash: d9578f556e4423a3bf269fbf1982ae64feb9cf2d
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, liggitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/triage accepted |
/kind flake
The time to start pings should account the time needed to create the connection, hence, we should start counting AFTER the connection has. been established
Fixes: #116165