We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6351a55 commit 2d3b1f9Copy full SHA for 2d3b1f9
clientconn_test.go
@@ -735,16 +735,15 @@ func (s) TestClientUpdatesParamsAfterGoAway(t *testing.T) {
735
time.Sleep(10 * time.Millisecond)
736
cc.mu.RLock()
737
v := cc.mkp.Time
738
+ cc.mu.RUnlock()
739
if v == 20*time.Second {
740
// Success
- cc.mu.RUnlock()
741
return
742
}
743
if ctx.Err() != nil {
744
// Timeout
745
t.Fatalf("cc.dopts.copts.Keepalive.Time = %v , want 20s", v)
746
747
748
749
750
0 commit comments