From: Tomas Markovic Date: Wed, 14 Mar 2018 09:58:59 +0000 (+0100) Subject: Move Karaf Home variable X-Git-Tag: pre-potassium~894 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=7ed14932800430c8cae753b6b56ebb52731859f5;p=integration%2Ftest.git Move Karaf Home variable Karaf_home variable is used in Variables.robot without definition, which causes test execution error in some test suites. Moved it from Clustermanagement.robot library to Variables.robot Change-Id: I09e7be5046cb1971084d90dd77c8972cbde509e6 Signed-off-by: Tomas Markovic --- diff --git a/csit/libraries/ClusterManagement.robot b/csit/libraries/ClusterManagement.robot index 265753b01a..719a1c1d74 100644 --- a/csit/libraries/ClusterManagement.robot +++ b/csit/libraries/ClusterManagement.robot @@ -45,7 +45,6 @@ ${JAVA_HOME} ${EMPTY} # releng/builder scripts should provide correct va ${JOLOKIA_CONF_SHARD_MANAGER_URI} jolokia/read/org.opendaylight.controller:Category=ShardManager,name=shard-manager-config,type=DistributedConfigDatastore ${JOLOKIA_OPER_SHARD_MANAGER_URI} jolokia/read/org.opendaylight.controller:Category=ShardManager,name=shard-manager-operational,type=DistributedOperationalDatastore ${JOLOKIA_READ_URI} jolokia/read/org.opendaylight.controller -${KARAF_HOME} ${WORKSPACE}${/}${BUNDLEFOLDER} # TODO: Migrate to Variables.robot # Bug 9044 workaround: delete etc/host.key before restart. @{ODL_DEFAULT_DATA_PATHS} tmp/ data/ cache/ snapshots/ journal/ etc/opendaylight/current/ etc/host.key ${RESTCONF_MODULES_DIR} ${CURDIR}/../variables/restconf/modules diff --git a/csit/variables/Variables.robot b/csit/variables/Variables.robot index 25eb7007c5..ee384c1db3 100644 --- a/csit/variables/Variables.robot +++ b/csit/variables/Variables.robot @@ -93,6 +93,7 @@ ${GET_INTENTS_URI} /retconf/config/intent:intents # FIXME: Move to a separ ${KARAF_PROMPT_LOGIN} opendaylight-user # This is used for karaf console login. ${ICMP_TYPE} 135 ${KARAF_DETAILED_PROMPT} @${ESCAPE_CHARACTER}[0m${ESCAPE_CHARACTER}[34mroot${ESCAPE_CHARACTER}[0m> # Larger substring of Karaf prompt, shorter ones may result in false positives. +${KARAF_HOME} ${WORKSPACE}${/}${BUNDLEFOLDER} # Karaf home directory path. ${KARAF_PASSWORD} karaf # Plaintext password to authenticate to Karaf console. ${KARAF_PROMPT} opendaylight-user.*root.*> # This is used for interactive read until prompt in regexp format. ${KARAF_SHELL_PORT} 8101 # ODL provides SSH access to Karaf consoleon this port.