diff options
author | Ed Santiago <santiago@redhat.com> | 2019-02-05 14:08:01 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2019-02-05 14:10:49 -0700 |
commit | 7ee8fe86c162331630c7d1e16a28f68b7f8ac143 (patch) | |
tree | cb100198f09a1c45db64b00a16c461da50a08d7c /test/e2e/run_entrypoint_test.go | |
parent | 650e242aa90fcb3f161da6e97921c606d3083215 (diff) | |
download | podman-7ee8fe86c162331630c7d1e16a28f68b7f8ac143.tar.gz podman-7ee8fe86c162331630c7d1e16a28f68b7f8ac143.tar.bz2 podman-7ee8fe86c162331630c7d1e16a28f68b7f8ac143.zip |
e2e tests: sigproxy: fix rare hang condition
The sig-proxy test creates a FIFO, runs podman with actions
that write to it, then tries reading from the FIFO.
Opening a FIFO for read or write blocks until the other end is
opened for the corresponding write/read. If our podman process
fails for any reason, the test's FIFO open will hang forever.
Solution: open with O_NONBLOCK.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/e2e/run_entrypoint_test.go')
0 files changed, 0 insertions, 0 deletions