Use a venv in more integration tests (#83799)

* Use venv for pause test
* Use venv for debugger test
* Use venv for builtin_vars_prompt test
pull/83802/head
Matt Clay 4 months ago committed by GitHub
parent 6eb16faed2
commit a3ee846a64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,4 +1,2 @@
setup/always/setup_passlib
setup/always/setup_pexpect
shippable/posix/group3 shippable/posix/group3
context/controller context/controller

@ -2,5 +2,9 @@
set -eux set -eux
source virtualenv.sh
pip install pexpect==4.9.0 passlib==1.7.4
# Interactively test vars_prompt # Interactively test vars_prompt
python test-vars_prompt.py -i ../../inventory "$@" python test-vars_prompt.py -i ../../inventory "$@"

@ -1,3 +1,2 @@
shippable/posix/group3 shippable/posix/group3
context/controller context/controller
setup/always/setup_pexpect

@ -2,4 +2,8 @@
set -eux set -eux
source virtualenv.sh
pip install pexpect==4.9.0
./test_run_once.py -i inventory "$@" ./test_run_once.py -i inventory "$@"

@ -1,3 +1,2 @@
needs/target/setup_pexpect
shippable/posix/group3 shippable/posix/group3
context/controller # this is a controller-only action, the module is just for documentation context/controller # this is a controller-only action, the module is just for documentation

@ -2,7 +2,9 @@
set -eux set -eux
ANSIBLE_ROLES_PATH=../ ansible-playbook setup.yml source virtualenv.sh
pip install pexpect==4.9.0
# Test pause module when no tty and non-interactive with no seconds parameter. # Test pause module when no tty and non-interactive with no seconds parameter.
# This is to prevent playbooks from hanging in cron and Tower jobs. # This is to prevent playbooks from hanging in cron and Tower jobs.

@ -1,4 +0,0 @@
- hosts: localhost
gather_facts: no
roles:
- setup_pexpect
Loading…
Cancel
Save