Files
podman/pkg
Daniel J Walsh c734c13904 Fix potential race condition in testing
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>
2020-12-01 14:11:04 -05:00
..
2020-09-29 08:46:44 -07:00
2020-10-05 15:56:44 -07:00
2019-07-23 15:43:40 -04:00
2020-09-22 14:44:09 +02:00
2018-03-27 21:55:33 +00:00
2020-06-15 07:05:56 -04:00
2020-10-05 15:30:37 -07:00
2020-06-15 07:05:56 -04:00
2020-11-12 11:38:31 +01:00
2020-01-13 14:27:02 +01:00
2020-01-14 09:54:48 +01:00
2020-10-05 15:56:44 -07:00