mirror of https://github.com/containers/podman.git
The It("podman wait to pause|unpause condition"... test is
flaking every so often when a messages is sent in the second
function to a channel. It is my believe that in between the time
the first function sends a message to the channel and before it closes
the channel the second errChan=make() has happened. This would mean that
the fist function closes the second errChan, and then when the second
function sends a message to the second errChan, it fails and blows up with
the error you are seeing.
By creating a different variable for the second channel, we eliminate the race.
Fixes: https://github.com/containers/podman/issues/6518
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
|
||
|---|---|---|
| .. | ||
| attach_test.go | ||
| auth_test.go | ||
| common_test.go | ||
| containers_test.go | ||
| create_test.go | ||
| exec_test.go | ||
| images_test.go | ||
| info_test.go | ||
| manifests_test.go | ||
| pods_test.go | ||
| system_test.go | ||
| test_suite_test.go | ||
| volumes_test.go | ||