Skip to content

Commit

Permalink
bug fixes to delete API test
Browse files Browse the repository at this point in the history
  • Loading branch information
AngieCris committed Feb 8, 2018
1 parent 87f3727 commit 4931a55
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License

*** Settings ***
Documentation Test 23-03 - VCH Create
Documentation Test 23-08 - VCH Delete
Resource ../../resources/Util.robot
Resource ../../resources/Group23-VIC-Machine-Service-Util.robot
Suite Setup Start VIC Machine Server
Expand All @@ -35,7 +35,7 @@ Install And Prepare VIC Appliance
Pull Busybox

Re-Install And Prepare VIC Appliance
Install VIC Appliance To Test Server With Current Environment Variables
Install VIC Appliance To Test Server With Current Environment Variables cleanup=${false}
Pull Busybox

Install And Prepare VIC Appliance With Volume Stores
Expand All @@ -46,7 +46,7 @@ Install And Prepare VIC Appliance With Volume Stores
Re-Install And Prepare VIC Appliance With Volume Stores

Re-Install And Prepare VIC Appliance With Volume Stores
Install VIC Appliance To Test Server With Current Environment Variables additional-args=--volume-store=%{TEST_DATASTORE}/${VOLUME_STORE_PATH}:${VOLUME_STORE_NAME}
Install VIC Appliance To Test Server With Current Environment Variables additional-args=--volume-store=%{TEST_DATASTORE}/${VOLUME_STORE_PATH}:${VOLUME_STORE_NAME} cleanup=${false}
Pull Busybox


Expand Down Expand Up @@ -293,7 +293,7 @@ Delete the correct VCH

${two}= Get VCH ID %{VCH-NAME}

Should Not Be Equal As Integers ${one} ${two}
Should Not Be Equal ${one} ${two}

# This will fail when run outside of drone because "Install VIC Appliance To Test Server"
# will delete "dangling" VCHs - which means any associated with a drone job id that isn't running
Expand Down Expand Up @@ -603,7 +603,7 @@ Delete VCH and powered off container and preserve volumes
Output Should Not Contain Error
Verify Container Exists ${OFF_NV_NVS_CONTAINER_NAME}

[Teardown] Cleanup VIC Appliance On Test Server
[Teardown] Run Keywords Cleanup VIC Appliance On Test Server Cleanup Datastore On Test Server


Delete VCH and powered on container but preserve volume
Expand Down Expand Up @@ -644,7 +644,7 @@ Delete VCH and powered on container but preserve volume

Verify Container Exists ${ON_NV_DVS_CONTAINER_NAME}

[Teardown] Cleanup VIC Appliance On Test Server
[Teardown] Run Keywords Cleanup VIC Appliance On Test Server Cleanup Datastore On Test Server


Delete VCH and preserve powered on container and volumes
Expand All @@ -669,7 +669,7 @@ Delete VCH and preserve powered on container and volumes
Verify Volume Store Exists %{VCH-NAME}-VOL
Verify Volume Exists %{VCH-NAME}-VOL ${ON_NV_DVS_VOLUME_NAME}

[Teardown] Cleanup VIC Appliance On Test Server
[Teardown] Run Keywords Cleanup VIC Appliance On Test Server Cleanup Datastore On Test Server


Delete VCH and preserve powered on container and fail to delete volumes
Expand All @@ -694,4 +694,4 @@ Delete VCH and preserve powered on container and fail to delete volumes
Verify Volume Store Exists %{VCH-NAME}-VOL
Verify Volume Exists %{VCH-NAME}-VOL ${ON_NV_DVS_VOLUME_NAME}

[Teardown] Cleanup VIC Appliance On Test Server
[Teardown] Run Keywords Cleanup VIC Appliance On Test Server Cleanup Datastore On Test Server

0 comments on commit 4931a55

Please sign in to comment.