Skip to content

Commit 09e4477

Browse files
authored
Merge pull request #209 from infrawatch/fix_functional_test_failures_get_prom_auth
[test_snmp_traps] Add a task to get prom creds at the start of the test
2 parents e4f62cf + 1596cb4 commit 09e4477

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

roles/test_snmp_traps/tasks/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010
register: expected_pods
1111
changed_when: false
1212

13+
- name: "Set the prom auth"
14+
ansible.builtin.include_role:
15+
name: client_side_tests
16+
tasks_from: get_prom_info.yml
17+
vars:
18+
prom_auth_method: token
19+
when:
20+
- prom_auth_string is not defined
21+
- prom_url is not defined
22+
1323
- name: "Get the observability strategy and set the observability_api"
1424
ansible.builtin.include_role:
1525
name: test_alerts

0 commit comments

Comments
 (0)