aboutsummaryrefslogtreecommitdiffstats
path: root/tests/usecases/5G-bulkpm
diff options
context:
space:
mode:
authorLiamBurke <Liam.Burke@ericsson.com>2019-06-19 17:00:15 +0100
committerLiamBurke <liam.burke@ericsson.com>2019-06-19 17:00:15 +0100
commita287903f5870abe40efbbe764a55d8e11d4df475 (patch)
treee9dda1e2880b17b8aa4ad0b4815c2f56993aea1b /tests/usecases/5G-bulkpm
parent01d354e17b157d8a83e82ea224fabceb07966b7b (diff)
Update to Bulk PM Robot for new DFC logging
Change-Id: I4be9c51015b47721c1af0e7da864a01183df288b Issue-ID: INT-832 Signed-off-by: LiamBurke <liam.burke@ericsson.com>
Diffstat (limited to 'tests/usecases/5G-bulkpm')
-rw-r--r--tests/usecases/5G-bulkpm/BulkpmE2E.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/usecases/5G-bulkpm/BulkpmE2E.robot b/tests/usecases/5G-bulkpm/BulkpmE2E.robot
index 84243cba..cac93f7f 100644
--- a/tests/usecases/5G-bulkpm/BulkpmE2E.robot
+++ b/tests/usecases/5G-bulkpm/BulkpmE2E.robot
@@ -19,7 +19,7 @@ ${TARGETURL_SUBSCR} http://${DMAAP_MR_IP}:3904/events/unaut
${CLI_EXEC_CLI} curl -k https://${DR_PROV_IP}:8443/internal/prov
${CLI_EXEC_CLI_FILECONSUMER} docker exec fileconsumer-node /bin/sh -c "ls /opt/app/subscriber/delivery | grep .xml"
${CLI_EXEC_CLI_DFC_LOG} docker exec dfc /bin/sh -c "cat /var/log/ONAP/application.log" > /tmp/dfc_docker.log.robot
-${CLI_EXEC_CLI_DFC_LOG_GREP} grep "Publish to DR successful!" /tmp/dfc_docker.log.robot
+${CLI_EXEC_CLI_DFC_LOG_GREP} grep "Datafile file published" /tmp/dfc_docker.log.robot
${CLI_EXEC_CLI_FILECONSUMER_CP} docker cp fileconsumer-node:/opt/app/subscriber/delivery/A20181002.0000-1000-0015-1000_5G.xml.M %{WORKSPACE}
${CLI_EXEC_RENAME_METADATA} mv %{WORKSPACE}/A20181002.0000-1000-0015-1000_5G.xml.M %{WORKSPACE}/metadata.json
${CLI_EXEC_CLI_PMMAPPER_LOG} docker exec pmmapper /bin/sh -c "cat /var/log/ONAP/dcaegen2/services/pm-mapper/pm-mapper_output.log" > /tmp/pmmapper_docker.log.robot
@@ -71,7 +71,7 @@ Verify Data File Collector successfully publishes the PM XML file to the Data Ro
${cli_cmd_output}= Run Process ${CLI_EXEC_CLI_DFC_LOG_GREP} shell=yes
Log ${cli_cmd_output.stdout}
Should Be Equal As Strings ${cli_cmd_output.rc} 0
- Should Contain ${cli_cmd_output.stdout} Publish to DR successful!
+ Should Contain ${cli_cmd_output.stdout} Datafile file published
Verify Default Feed And File Consumer Subscription On Datarouter