mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Whitelist test and enforce test order (#1762)
also reduce replica count during test to save CPU/memory
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user