Running sanity test again after scaling ETCD back up
Change-Id: I95cee3c372eb4c7d9491f537916fecaa5b9621e6
diff --git a/tests/functional/K8S_SystemTest.robot b/tests/functional/K8S_SystemTest.robot
index d4b902a..13c55bc 100644
--- a/tests/functional/K8S_SystemTest.robot
+++ b/tests/functional/K8S_SystemTest.robot
@@ -37,6 +37,8 @@
${rwcore_pod_label_value} rw-core
${ofagent_pod_label_value} ofagent
${adapter_openolt_pod_label_value} adapter-open-olt
+${teardown_device} false
+${has_dataplane} false
# Per-test logging on failure is turned off by default; set this variable to enable
${container_log_dir} ${None}
@@ -64,6 +66,9 @@
Scale ETCD ${ETCD_namespace} ${desired_ETCD_cluster_size}
Wait Until Keyword Succeeds ${timeout} 2s
... Validate ETCD Size ${ETCD_namespace} ${desired_ETCD_cluster_size}
+ # Perform the sanity-test again
+ Run Keyword If ${has_dataplane} Clean Up Linux
+ Wait Until Keyword Succeeds ${timeout} 2s Perform Sanity Test
ETCD Failure Test
[Documentation] Failure Scenario Test: ETCD Crash