From c79ff6ce67dce790ab339ee2ddfbd505a2e19886 Mon Sep 17 00:00:00 2001 From: Rogelio Sanchez Date: Thu, 19 Apr 2018 19:20:35 -0500 Subject: [PATCH 1/2] Add vSAN DOM check retry --- .../5-6-2-VSAN-Complex.robot | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tests/manual-test-cases/Group5-Functional-Tests/5-6-2-VSAN-Complex.robot b/tests/manual-test-cases/Group5-Functional-Tests/5-6-2-VSAN-Complex.robot index c6d1604455..db70a97b8a 100644 --- a/tests/manual-test-cases/Group5-Functional-Tests/5-6-2-VSAN-Complex.robot +++ b/tests/manual-test-cases/Group5-Functional-Tests/5-6-2-VSAN-Complex.robot @@ -60,18 +60,22 @@ VSAN Complex Setup Set Environment Variable TEST_RESOURCE cluster-vsan-1 Set Environment Variable TEST_TIMEOUT 30m -*** Test Cases *** -Complex VSAN - ${out}= Run govc datastore.vsan.dom.ls -ds %{TEST_DATASTORE} -l -o + +Check VSAN DOMs In Datastore + [Arguments] ${test_datastore} + ${out}= Run govc datastore.vsan.dom.ls -ds ${test_datastore} -l -o Log ${out} Should Be Empty ${out} +*** Test Cases *** +Complex VSAN + Wait Until Keyword Succeeds 10x 30s Check VSAN DOMs In Datastore %{TEST_DATASTORE} + + Custom Testbed Keepalive /dbc/pa-dbc1111/mhagen Install VIC Appliance To Test Server Run Regression Tests Cleanup VIC Appliance On Test Server - ${out}= Run govc datastore.vsan.dom.ls -ds %{TEST_DATASTORE} -l -o - Log ${out} - Should Be Empty ${out} + Wait Until Keyword Succeeds 10x 30s Check VSAN DOMs In Datastore %{TEST_DATASTORE} From ec85625dd05e49f25a0eb062d31fe6abbee00056 Mon Sep 17 00:00:00 2001 From: Rogelio Sanchez Date: Thu, 19 Apr 2018 19:26:17 -0500 Subject: [PATCH 2/2] Remove extra line --- .../Group5-Functional-Tests/5-6-2-VSAN-Complex.robot | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/manual-test-cases/Group5-Functional-Tests/5-6-2-VSAN-Complex.robot b/tests/manual-test-cases/Group5-Functional-Tests/5-6-2-VSAN-Complex.robot index db70a97b8a..5197a7eefe 100644 --- a/tests/manual-test-cases/Group5-Functional-Tests/5-6-2-VSAN-Complex.robot +++ b/tests/manual-test-cases/Group5-Functional-Tests/5-6-2-VSAN-Complex.robot @@ -71,7 +71,6 @@ Check VSAN DOMs In Datastore Complex VSAN Wait Until Keyword Succeeds 10x 30s Check VSAN DOMs In Datastore %{TEST_DATASTORE} - Custom Testbed Keepalive /dbc/pa-dbc1111/mhagen Install VIC Appliance To Test Server