Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding fix when categories are not coming in order in the response #537

Merged
merged 1 commit into from
Dec 12, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
- result.response is defined
- result.changed == false
- result.failed == false
- all_categories[0] == "{{ category_ext_id }}"
- all_categories[1] == "{{ category_ext_id1 }}"
- "'{{ category_ext_id }}' in {{ all_categories }}"
- "'{{ category_ext_id1 }}' in {{ all_categories }}"
- result.vm_ext_id == "{{ vm_uuid }}"
fail_msg: " Associate category to VM - check mode is enabled failed "
success_msg: " Associate category to VM - check mode is enabled passed "
Expand Down Expand Up @@ -180,9 +180,9 @@
- result.failed == false
- result.response.categories | length > 0
- all_categories | length == 3
- all_categories[0] == "{{ category_ext_id }}"
- all_categories[1] == "{{ category_ext_id1 }}"
- all_categories[2] == "{{ category_ext_id2 }}"
- "'{{ category_ext_id }}' in {{ all_categories }}"
- "'{{ category_ext_id1 }}' in {{ all_categories }}"
- "'{{ category_ext_id2 }}' in {{ all_categories }}"
fail_msg: "Get categories from VM failed "
success_msg: "Get categories from VM passed "

Expand All @@ -209,8 +209,8 @@
- result.response is defined
- result.changed == false
- result.failed == false
- all_categories[0] == "{{ category_ext_id }}"
- all_categories[1] == "{{ category_ext_id1 }}"
- "'{{ category_ext_id }}' in {{ all_categories }}"
- "'{{ category_ext_id1 }}' in {{ all_categories }}"
- result.vm_ext_id == "{{ vm_uuid }}"
fail_msg: " Disassociate category from VM - check mode is enabled failed "
success_msg: " Disassociate category from VM - check mode is enabled passed "
Expand Down Expand Up @@ -281,8 +281,8 @@
- result.failed == false
- result.response.categories | length > 0
- all_categories | length == 2
- all_categories[0] == "{{ category_ext_id1 }}"
- all_categories[1] == "{{ category_ext_id2 }}"
- "'{{ category_ext_id1 }}' in {{ all_categories }}"
- "'{{ category_ext_id2 }}' in {{ all_categories }}"
fail_msg: "Get categories from VM failed "
success_msg: "Get categories from VM passed "

Expand Down
Loading