Commit f6c90f7c authored by sathyaseelan's avatar sathyaseelan

modified the packet infra setup script

Signed-off-by: 's avatarsathyaseelan <sathyaseelan.n@cloudbyte.com>
parent a28f6020
......@@ -130,8 +130,8 @@ task_delimiter;
## Check the test status & result from the litmus result custom resource
testStatus=$(kubectl get lr $test_name --no-headers -o custom-columns=:spec.testStatus.phase) && \
testResult=$(kubectl get lr $test_name --no-headers -o custom-columns=:spec.testStatus.result); retcode=$?
testStatus=$(kubectl get litmusresult $test_name --no-headers -o custom-columns=:spec.testStatus.phase) && \
testResult=$(kubectl get litmusresult $test_name --no-headers -o custom-columns=:spec.testStatus.result); retcode=$?
error_handler $retcode msg="Unable to find litmus result custom resource, exiting" action="exit"
if [[ $testStatus == "completed" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment