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

[specific ci=23-08-VCH-Delete] VCH delete API robot test bug fixes #7303

Merged
merged 2 commits into from
Feb 12, 2018
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 @@ -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