Fix TestServeExecInContainerIdleTimeout flake
Remove creation of stream from TestServeExecInContainerIdleTimeout as it's not necessary to very idle timeout. Increase stream creation and ack timeouts to 30 seconds. Fixes #5628
This commit is contained in:
@@ -655,15 +655,6 @@ func TestServeExecInContainerIdleTimeout(t *testing.T) {
|
||||
if conn == nil {
|
||||
t.Fatal("Unexpected nil connection")
|
||||
}
|
||||
defer conn.Close()
|
||||
|
||||
h := http.Header{}
|
||||
h.Set(api.StreamType, api.StreamTypeError)
|
||||
stream, err := conn.CreateStream(h)
|
||||
if err != nil {
|
||||
t.Fatalf("error creating input stream: %v", err)
|
||||
}
|
||||
defer stream.Reset()
|
||||
|
||||
<-conn.CloseChan()
|
||||
}
|
||||
|
Reference in New Issue
Block a user