mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Merge pull request #97909 from adamzhoul/fix-chan-bug
fix unit test "TestSPDYExecutorStream" flaking problem
This commit is contained in:
commit
9caf675ed1
@ -208,7 +208,8 @@ func createHTTPStreams(w http.ResponseWriter, req *http.Request, opts *StreamOpt
|
|||||||
}
|
}
|
||||||
|
|
||||||
// wait for stream
|
// wait for stream
|
||||||
replyChan := make(chan struct{}, 1)
|
replyChan := make(chan struct{}, 4)
|
||||||
|
defer close(replyChan)
|
||||||
receivedStreams := 0
|
receivedStreams := 0
|
||||||
expectedStreams := 1
|
expectedStreams := 1
|
||||||
if opts.Stdout != nil {
|
if opts.Stdout != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user