summaryrefslogtreecommitdiff
path: root/changelogs/fragments/ansible-test-subprocess-isolation.yml
blob: 3be259d60899f2e8eb815f5150a2a68bb1be2137 (plain)
1
2
3
4
5
6
7
8
9
10
bugfixes:
  - ansible-test - Subprocesses are now isolated from the stdin, stdout and stderr of ansible-test.
                   This avoids issues with subprocesses tampering with the file descriptors, such as SSH making them non-blocking.
                   As a result of this change, subprocess output from unit and integration tests on stderr now go to stdout.
  - ansible-test - Subprocesses no longer have access to the TTY ansible-test is connected to, if any.
                   This maintains consistent behavior between local testing and CI systems, which typically do not provide a TTY.
                   Tests which require a TTY should use pexpect or another mechanism to create a PTY.
minor_changes:
  - ansible-test - Blocking mode is now enforced for stdin, stdout and stderr.
                   If any of these are non-blocking then ansible-test will exit during startup with an error.