summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--robot/testsuites/hvves-ci.robot4
-rwxr-xr-xsetup-hvves.sh3
2 files changed, 3 insertions, 4 deletions
diff --git a/robot/testsuites/hvves-ci.robot b/robot/testsuites/hvves-ci.robot
index 74423fe0..ac330901 100644
--- a/robot/testsuites/hvves-ci.robot
+++ b/robot/testsuites/hvves-ci.robot
@@ -1,7 +1,7 @@
*** Settings ***
Documentation HV-VES 'Sunny Scenario' Robot Framework test - message is sent to the collector and Kafka topic is checked if the message has been published. Content is decoded and checked.
Default Tags hvves ete
-Test Timeout 1m
+Test Timeout 5m
Resource ../resources/global_properties.robot
Resource ../resources/dcae/hvves.robot
Library OperatingSystem
@@ -13,7 +13,7 @@ ${HVVES_KAFKA_TOPIC_SSL} HV_VES_PERF3GPP_SSL
*** Test Cases ***
HV-VES SSL test case
- [Setup] Run Process /app/setup-hvves.sh shell=yes --option argument
+ [Setup] Run Process /app/setup-hvves.sh shell=yes
Mode ${HVVES_CONFIG_SSL}
Send Message Over Ssl ${GLOBAL_DCAE_HVVES_SERVER_NAME} ${GLOBAL_DCAE_HVVES_SERVER_PORT}
Wait Until Keyword Succeeds 10s 2s Check If Topic Exists ${GLOBAL_DMAAP_MESSAGE_ROUTER_SERVER_NAME} ${GLOBAL_DMAAP_MESSAGE_ROUTER_SERVER_PORT} ${HVVES_KAFKA_TOPIC_SSL}
diff --git a/setup-hvves.sh b/setup-hvves.sh
index 040b2fb2..f81799b6 100755
--- a/setup-hvves.sh
+++ b/setup-hvves.sh
@@ -5,7 +5,7 @@
# Copy the stuff to HV-VES and Robot pods.
#
NAMESPACE=${NAMESPACE:-onap}
-DIR=${DIR:"/tmp"}
+DIR=${DIR:-/tmp}
HVVESPOD=$(kubectl -n $NAMESPACE get pods --no-headers=true -o custom-columns=:metadata.name | grep hv-ves)
@@ -60,4 +60,3 @@ generate_client_key_csr "$DIR"
sign_server_and_client_cert "$DIR"
create_pkcs12_ca_and_server "$DIR"
copy_server_certs_to_hvves "$DIR" "$NAMESPACE" "$HVVESPOD" "$DIR"
-cleanup "$DIR"