Skip to content

Commit

Permalink
resolving comments
Browse files Browse the repository at this point in the history
  • Loading branch information
george-ghawali committed Oct 8, 2024
1 parent 92ed90f commit 202a04f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
- result.response.blocks.0.nodes.0.node_position=="{{IBIS_node.node1.node_position}}"
- result.response.clusters.0.cluster_name=="test-cluster"
fail_msg: " Fail : check_mode fail"
success_msg: "Succes: returned response as expected"
success_msg: "Success: returned response as expected"
###################################
- name: Start negative_scenarios for ntnx_foundation
ansible.builtin.debug:
Expand Down Expand Up @@ -83,7 +83,7 @@
- result.changed==false
- result.failed==true
fail_msg: " Fail : image node with wrong serial done successfully "
success_msg: "Succes: unable to image node with wrong serial "
success_msg: "Success: unable to image node with wrong serial "
###################################
- name: Image nodes with wrong hypervisor
ntnx_foundation:
Expand Down Expand Up @@ -119,4 +119,4 @@
"result.msg=='value of hypervisor must be one of: kvm, hyperv, xen, esx, ahv,
got: phoenix found in blocks -> nodes -> discovery_mode -> discovery_override'"
fail_msg: " Fail : Image nodes with wrong hypervisor done successfully "
success_msg: "Succes: unable to image node with wrong hypervisor"
success_msg: "Success: unable to image node with wrong hypervisor"
4 changes: 2 additions & 2 deletions tests/integration/targets/ntnx_images/tasks/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- result.response is defined
- result.response.status.state == 'COMPLETE'
- result.response.status.resources.image_type == "DISK_IMAGE"
- result.response.status.name == 'integration-test-image-with-uri'
- result.response.status.name == 'Integration-test-image-with-uri'
- result.response.status.resources.source_uri == "{{ disk_image.url }}"
fail_msg: "Unable to create image using source_uri"
success_msg: "Image with given source_uri created successfully"
Expand Down Expand Up @@ -104,7 +104,7 @@
- result.changed == false
- result.failed == false
- result.response.metadata is defined
- result.response.spec.name == 'integration-test-image'
- result.response.spec.name == 'Integration-test-image'
- result.response.spec.resources.source_uri == "{{ disk_image.url }}"
- result.response.metadata.categories_mapping['AppType'] == ['Default']
- result.response.metadata.categories_mapping['Environment'] == ['Dev']
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/targets/ntnx_images/tasks/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
that:
- result.response is defined
- result.response.status.state == 'COMPLETE'
- result.response.status.name == 'integration-test-image-after-update'
- result.response.status.name == 'Integration-test-image-after-update'
- result.response.status.description == 'description after update'
- result.response.status.resources.image_type == 'ISO_IMAGE'
- result.response.metadata.categories_mapping['Environment'] == ['Production']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

- name: Create registry with wrong port number
ntnx_karbon_registries:
name: Test_regitry
name: Test regitry
url: "{{url}}"
port: 501
register: result
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/targets/ntnx_ova/tasks/create_ova.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
fail_msg: 'Fail: Unable to create VM with minimum requirements '
success_msg: 'Success: VM with minimum requirements created successfully '
#########################################
- name: Create_ova_image with check mode
- name: Create ova image with check mode
ntnx_vms_ova:
src_vm_uuid: "{{ vm.vm_uuid }}"
name: integration_test_VMDK_ova
Expand Down

0 comments on commit 202a04f

Please sign in to comment.