aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>2021-02-16 14:37:43 +0200
committerLasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>2021-02-16 12:42:28 +0000
commit3316f7cb264b0263b3ed473d96614d1b642567fc (patch)
tree5a9cab03098a7e049b7db2b016dd40b87901cdf6
parent79201240f3e7acfe06b39becace9318c86ce2943 (diff)
Update dcaegen2-collectors-hv-ves FOR loop syntax
- update obsolete FOR loop syntax to get rid of warnings in console output - some minor grammar improvements Issue-ID: DCAEGEN2-2629 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I89c918754f3f4674e96eff4ffc8932713a4bce80
-rw-r--r--tests/dcaegen2-collectors-hv-ves/testcases/message-routing.robot5
-rw-r--r--tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot11
2 files changed, 9 insertions, 7 deletions
diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/message-routing.robot b/tests/dcaegen2-collectors-hv-ves/testcases/message-routing.robot
index 40923aab..9898a968 100644
--- a/tests/dcaegen2-collectors-hv-ves/testcases/message-routing.robot
+++ b/tests/dcaegen2-collectors-hv-ves/testcases/message-routing.robot
@@ -2,6 +2,7 @@
# csit-dcaegen2-collectors-hv-ves
# ================================================================================
# Copyright (C) 2018-2019 NOKIA
+# Modification copyright (C) 2021 Samsung Electronics Co., Ltd.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -37,7 +38,7 @@ Message Routing Suite Setup
*** Test Cases ***
Correct Messages Routing
[Documentation] VES-HV Collector should route all valid messages to topics specified in configuration
- ... and do not change message payload generated in XNF simulator
+ ... without changing message payload generated in xNF simulator
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_FIXED_PAYLOAD_REQUEST}
@@ -47,7 +48,7 @@ Correct Messages Routing
Too big payload message handling
- [Documentation] VES-HV Collector should interrupt the stream when encountered message with too big payload
+ [Documentation] VES-HV Collector should interrupt the stream when a message with too big payload is encountered
Send Messages From xNF Simulators ${XNF_SIMULATOR} ${XNF_TOO_BIG_PAYLOAD_REQUEST}
diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot b/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot
index fee8bfd8..bab8a907 100644
--- a/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot
+++ b/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot
@@ -2,6 +2,7 @@
# csit-dcaegen2-collectors-hv-ves
# ================================================================================
# Copyright (C) 2018-2019 NOKIA
+# Modification copyright (C) 2021 Samsung Electronics Co., Ltd.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -53,11 +54,11 @@ Get xNF Simulators Using Valid Certificates
Send Messages From xNF Simulators
[Arguments] ${XNF_HOSTS_LIST} ${MESSAGE_FILEPATH}
- :FOR ${HOST} IN @{XNF_HOSTS_LIST}
- \ ${XNF_SIM_API_ACCESS}= Get xNF Sim Api Access Url ${HTTP_METHOD_URL} ${HOST}
- \ ${XNF_SIM_API_URL}= Catenate SEPARATOR= ${XNF_SIM_API_ACCESS} ${XNF_SIM_API_PATH}
- \ Send messages ${XNF_SIM_API_URL} ${MESSAGE_FILEPATH}
-
+ FOR ${HOST} IN @{XNF_HOSTS_LIST}
+ ${XNF_SIM_API_ACCESS}= Get xNF Sim Api Access Url ${HTTP_METHOD_URL} ${HOST}
+ ${XNF_SIM_API_URL}= Catenate SEPARATOR= ${XNF_SIM_API_ACCESS} ${XNF_SIM_API_PATH}
+ Send messages ${XNF_SIM_API_URL} ${MESSAGE_FILEPATH}
+ END
VES-HV Collector Test Shutdown
Reset DCAE App Simulator ${DEFAULT_PERF3GPP_TOPIC}