Updated radius pod to use infra namespace
Change-Id: Ia831017ffd1320fc48338e18c3d18c53576e7a00
diff --git a/libraries/utils.robot b/libraries/utils.robot
index 3714caf..6e9b01d 100755
--- a/libraries/utils.robot
+++ b/libraries/utils.robot
@@ -30,8 +30,10 @@
Check CLI Tools Configured
[Documentation] Tests that use 'voltctl' and 'kubectl' should execute this keyword in suite setup
# check voltctl and kubectl configured
- ${voltctl_rc}= Run And Return RC voltctl device list
- ${kubectl_rc}= Run And Return RC kubectl get pods
+ ${voltctl_rc} ${voltctl_output}= Run And Return Rc And Output voltctl device list
+ Log ${voltctl_output}
+ ${kubectl_rc} ${kubectl_output}= Run And Return Rc And Output kubectl get pods
+ Log ${kubectl_output}
Run Keyword If ${voltctl_rc} != 0 or ${kubectl_rc} != 0 FATAL ERROR
... VOLTCTL and KUBECTL not configured. Please configure before executing tests.
diff --git a/tests/functional/Voltha_FailureScenarios.robot b/tests/functional/Voltha_FailureScenarios.robot
index c50c3ca..3c77df6 100644
--- a/tests/functional/Voltha_FailureScenarios.robot
+++ b/tests/functional/Voltha_FailureScenarios.robot
@@ -43,6 +43,7 @@
${VOLTHA_POD_NUM} 8
${NAMESPACE} voltha
${DEFAULTSPACE} default
+${RADIUSSPACE} infra
# For below variable value, using deployment name as using grep for
# parsing radius pod name, we can also use full radius pod name
${RESTART_POD_NAME} radius
@@ -227,8 +228,8 @@
... AND Stop Logging RadiusRestart
${waitforRestart} Set Variable 120s
${podName} Set Variable radius
- Wait Until Keyword Succeeds ${timeout} 15s Delete K8s Pods By Label ${DEFAULTSPACE} app ${podName}
- Wait Until Keyword Succeeds ${waitforRestart} 2s Validate Pods Status By Label ${DEFAULTSPACE}
+ Wait Until Keyword Succeeds ${timeout} 15s Delete K8s Pods By Label ${RADIUSSPACE} app ${podName}
+ Wait Until Keyword Succeeds ${waitforRestart} 2s Validate Pods Status By Label ${RADIUSSPACE}
... app ${podName} Running
FOR ${I} IN RANGE 0 ${num_all_onus}
${src}= Set Variable ${hosts.src[${I}]}