From: Tomas Cechvala Date: Tue, 11 Aug 2015 15:29:48 +0000 (+0200) Subject: Editing path to resources file in SFC Clustering X-Git-Tag: release/lithium-sr1~19 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=36ed3f1cddb7508bc4a659d42206b06bd708d01c Editing path to resources file in SFC Clustering Adding CURDIR variable into resources path. Change-Id: I69cc2f9c1de3a829c3940c7aaf9620940fa3fafd Signed-off-by: Tomas Cechvala --- diff --git a/test/csit/suites/sfc/Clustering_Datastore/020_simple_clustering.robot b/test/csit/suites/sfc/Clustering_Datastore/020_simple_clustering.robot index e92d1663b3..5885d8b225 100644 --- a/test/csit/suites/sfc/Clustering_Datastore/020_simple_clustering.robot +++ b/test/csit/suites/sfc/Clustering_Datastore/020_simple_clustering.robot @@ -10,13 +10,13 @@ Resource ../../../libraries/Utils.robot *** Variables *** ${SFC_API} /restconf/config/service-function:service-functions -${SFC_FUNCTIONS_FILE} ../../../variables/sfc/service-functions.json +${SFC_FUNCTIONS_FILE} ${CURDIR}/../../../variables/sfc/service-functions.json *** Test Cases *** Add Service Functions To One Node [Documentation] Add service functions from JSON file - Create Session session ${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS} + Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS} ${jsonbody} Read JSON From File ${SFC_FUNCTIONS_FILE} Add Elements To URI From File ${SFC__API} ${SFC_FUNCTIONS_FILE} ${resp} RequestsLibrary.Get session ${SFC_API} @@ -25,7 +25,7 @@ Add Service Functions To One Node Lists Should be Equal ${result} ${jsonbody} Read Service Functions From Other Node - Create Session session ${CONTROLLER1}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS} + Create Session session http://${CONTROLLER1}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS} ${jsonbody} Read JSON From File ${SFC_FUNCTIONS_FILE} ${resp} RequestsLibrary.Get session ${SFC_API} Should Be Equal As Strings ${resp.status_code} 200