aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrajendrajaiswal <rajendra.jaiswal@ericsson.com>2019-02-15 10:23:53 +0000
committerroot <rajendra.jaiswal@ericsson.com>2019-02-15 10:24:57 +0000
commit7f7dab08c3bf1155c86823fd9064c866df07fec6 (patch)
tree85e6c66bd5cdffc8f2d563cc94691615c9723e5c /tests
parent140bfd2c8572f13a8499066bc8c2eea8ce96f641 (diff)
Improvment to Test Case
Change-Id: I17db9b9ce9889ddfe43bf145dfee17c948d30646 Issue-ID: INT-863 Signed-off-by: Rajendra Jaiswal <rajendra.jaiswal@ericsson.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot b/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
index 51d78d43..1e3d9e91 100644
--- a/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
+++ b/tests/dcaegen2-pmmapper/pmmapper/pmmapper.robot
@@ -7,7 +7,7 @@ Library Process
*** Variables ***
-${CLI_EXEC_CLI_CONFIG} cat /tmp/pmmapper.log
+${CLI_EXEC_CLI_CONFIG} { head -n 5 | tail -1;} < /tmp/pmmapper.log
${CLI_EXEC_CLI_SUBS} curl -k https://${DR_PROV_IP}:8443/internal/prov
*** Test Cases ***
@@ -18,7 +18,7 @@ Verify PM Mapper Receive Configuraton From Config Binding Service
${cli_cmd_output}= Run Process ${CLI_EXEC_CLI_CONFIG} shell=yes
Log ${cli_cmd_output.stdout}
Should Be Equal As Strings ${cli_cmd_output.rc} 0
- Should Contain ${cli_cmd_output.stdout} "3gpppmmapper"
+ Should Contain ${cli_cmd_output.stdout} Received pm-mapper configuration
Verify 3GPP PM Mapper Subscribes to Data Router
[Tags] PM_MAPPER_02
@@ -26,7 +26,7 @@ Verify 3GPP PM Mapper Subscribes to Data Router
${cli_cmd_output}= Run Process ${CLI_EXEC_CLI_SUBS} shell=yes
Log ${cli_cmd_output.stdout}
Should Be Equal As Strings ${cli_cmd_output.rc} 0
- Should Contain ${cli_cmd_output.stdout} "3gpppmmapper"
+ Should Contain ${cli_cmd_output.stdout} 3gpppmmapper
*** Keywords ***