Skip to content

Commit

Permalink
Fix error in jaeger test (#690)
Browse files Browse the repository at this point in the history
* Update jaeger name
  • Loading branch information
josunect authored Oct 6, 2023
1 parent 0461cdc commit b59da63
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions molecule/jaeger-test/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
# If Jaeger is in the list, it means that there is an error (Unreacheable)
- name: Check if Jaeger status is present
set_fact:
jaeger_error: "{{ item.status }}"
tracing_error: "{{ item.status }}"
loop: "{{ status_response.json }}"
when: "item.name == 'jaeger'"
when: "item.name == 'tracing'"

- name: Assert that there is no error related to Jaeger
assert:
that:
- jaeger_error is not defined
- tracing_error is not defined

# Update Jaeger URL to a bad URL just to test a bad integration
- import_tasks: update-jaeger-url.yml
Expand All @@ -57,11 +57,11 @@

- name: Check if Jaeger status is present
set_fact:
jaeger_error: "{{ item.status }}"
tracing_error: "{{ item.status }}"
loop: "{{ status_response.json }}"
when: "item.name == 'jaeger'"
when: "item.name == 'tracing'"

- name: Assert that there is an error related to Jaeger
assert:
that:
- jaeger_error is defined
- tracing_error is defined

0 comments on commit b59da63

Please sign in to comment.