diff options
Diffstat (limited to 'test/csit')
-rw-r--r-- | test/csit/plans/aai/search-data-service/setup.sh | 3 | ||||
-rw-r--r-- | test/csit/tests/aai/search-data-service/suite1/test1.robot | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test/csit/plans/aai/search-data-service/setup.sh b/test/csit/plans/aai/search-data-service/setup.sh index df50fed16..60703b657 100644 --- a/test/csit/plans/aai/search-data-service/setup.sh +++ b/test/csit/plans/aai/search-data-service/setup.sh @@ -32,3 +32,6 @@ docker-compose -f docker-compose.yml up -d aai.searchservice.simpledemo.openecom echo sleeping for 10 seconds while services start up sleep 10 + +ROBOT_VARIABLES="-v HOST_IP:`ip addr show docker0 | head -3 | tail -1 | cut -d' ' -f6 | cut -d'/' -f1`" + diff --git a/test/csit/tests/aai/search-data-service/suite1/test1.robot b/test/csit/tests/aai/search-data-service/suite1/test1.robot index db05f83b7..86554a13a 100644 --- a/test/csit/tests/aai/search-data-service/suite1/test1.robot +++ b/test/csit/tests/aai/search-data-service/suite1/test1.robot @@ -4,7 +4,7 @@ Library RequestsLibrary Library requests *** Variables *** -${TARGETURL} https://10.147.124.100:9509/services/search-data-service/v1/search/indexes/test-index3 +${TARGETURL} https://${HOST_IP}:9509/services/search-data-service/v1/search/indexes/test-index3 ${INDEXDATA} {"fields": [{"name": "Name", "data-type": "string"}, {"name": "Number", "data-type": "long"}]} ${DOCUMENTDATA} {"Name": "A", "Number": 5} |