[VOL-3867] Fix for ONOSHATests

Change-Id: Ib09c6c632998e64c19a0b57f01b86960f21cd3e4
diff --git a/tests/functional/Voltha_ONOSHATests.robot b/tests/functional/Voltha_ONOSHATests.robot
index c77ba4b..928a771 100644
--- a/tests/functional/Voltha_ONOSHATests.robot
+++ b/tests/functional/Voltha_ONOSHATests.robot
@@ -81,7 +81,8 @@
         ${olt_device_id}=    Get OLTDeviceID From OLT List    ${olt_serial_number}
         ${of_id}=    Wait Until Keyword Succeeds    360s    15s    Validate OLT Device in ONOS    ${olt_serial_number}
         ${node_id}=    Wait Until Keyword Succeeds    20s    5s    Get Master Instace in ONOS    ${of_id}
-        ${podName}    Set Variable     ${node_id}
+        @{onos_id}=    Split String    ${node_id}    -
+        ${podName}=    Catenate    SEPARATOR=-    onos-onos-classic    ${onos_id[1]}
         Wait Until Keyword Succeeds    ${timeout}    15s    Delete K8s Pods By Name    ${NAMESPACE}    ${podName}
         Sleep    60s
         Wait Until Keyword Succeeds    ${timeout}    2s    Validate Pods Status By Name    ${NAMESPACE}