ansible/test/integration/targets/pause
Sam Doran ab417f373a
[stable-2.10] pause - do not hang if run in the background (#72065) (#72605)
* Consolidate logic for determining whether or not session is interactive
  into a single function, is_interactive()
* Increase test coverage

I wasn't able to find a good way of simulating running a backgrounded test with CI since the
whole test is essentially run not in a TTY, which is similar enough to cause the new is_interactive()
function to always return false.
(cherry picked from commit 4b8cb6582b)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-12-07 18:08:56 -06:00
..
aliases
pause-1.yml
pause-2.yml
pause-3.yml
pause-4.yml
pause-5.yml
runme.sh
setup.yml
test-pause-background.yml [stable-2.10] pause - do not hang if run in the background (#72065) (#72605) 2020-12-07 18:08:56 -06:00
test-pause-no-tty.yml
test-pause.py
test-pause.yml [stable-2.10] pause - do not hang if run in the background (#72065) (#72605) 2020-12-07 18:08:56 -06:00