You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During an attached `docker run`, the CLI starts capturing signals so
that they can be forwarded to the container. The CLI stops capturing
signals after container is no longer running/it's streams are closed.
This test had two issues:
- it would close the streams early, causing the CLI to think the
container had exited, and stop signal handling (causing the SIGINT
to not be captured and interrupt the test instead), and
- it would send immediately on the status channel returned by WaitFunc,
which would also signal the container has exited and caused the CLI to
stop signal handling
This patch addresses both of these issues and makes this test less
flaky.
Signed-off-by: Laura Brehm <[email protected]>
0 commit comments