Whitelist test and enforce test order (#1762)

also reduce replica count during test to save CPU/memory
This commit is contained in:
Hao Liu
2024-03-13 13:50:33 -04:00
committed by GitHub
parent d5a3cb7519
commit a53a10ad33
2 changed files with 6 additions and 5 deletions

View File

@@ -49,16 +49,16 @@
####
- debug:
msg: test - replicas=3 should give 3 of each
msg: test - replicas=2 should give 2 of each
- include_tasks: apply_awx_spec.yml
vars:
additional_fields:
replicas: 3
replicas: 2
- include_tasks: _test_case_replicas.yml
vars:
expected_web_replicas: 3
expected_task_replicas: 3
expected_web_replicas: 2
expected_task_replicas: 2
tags:
- replicas

View File

@@ -14,7 +14,8 @@
- name: Import all test files from tasks/
include_tasks: '{{ item }}'
with_fileglob:
- tasks/*_test.yml
- tasks/awx_test.yml
- tasks/awx_replicas_test.yml
tags:
- always
rescue: