Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions tests/tests_insights_client_register.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,21 @@
rhc_state: reconnect
rhc_baseurl: "{{ lsr_rhc_test_data.baseurl | d(omit) }}"

- name: Get rhsm UUID
include_tasks: tasks/get_rhsm_uuid.yml

- name: Get insights UUID
include_tasks: tasks/get_insights_uuid.yml

- name: Rename the insights UUID to test_insights_uuid_after
set_fact:
test_insights_uuid_after: "{{ test_insights_uuid }}"

- name: Check the insights UUID changed
- name: Check Insights UUID changed or same as rhsm UUID
assert:
that: test_insights_uuid_before != test_insights_uuid_after
that: >
test_insights_uuid_before != test_insights_uuid_after
or test_insights_uuid_after == test_rhsm_uuid

- name: Unregister insights
include_role:
Expand Down
Loading