aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/auto-test/AutoTestTest.sh
diff options
context:
space:
mode:
authormaximesson <maxime.bonneau@est.tech>2019-08-30 14:05:15 +0000
committerDaniel Rose <dr695h@att.com>2019-09-09 14:55:34 +0000
commit69311bf8082471be45574c9a99b23e31e606669c (patch)
treec005c78aca429a7f09806de6a610b0b03e32de21 /test/mocks/datafilecollector-testharness/auto-test/AutoTestTest.sh
parent6a5ec681a93a0ddf55080f164187791ed92578be (diff)
Updated README files and adaptation of consul/cbs config
Change-Id: I81494f56978a3d0ff06ec0d66968f33f08114103 Issue-ID: DCAEGEN2-1719 Signed-off-by: maximesson <maxime.bonneau@est.tech>
Diffstat (limited to 'test/mocks/datafilecollector-testharness/auto-test/AutoTestTest.sh')
-rwxr-xr-xtest/mocks/datafilecollector-testharness/auto-test/AutoTestTest.sh36
1 files changed, 17 insertions, 19 deletions
diff --git a/test/mocks/datafilecollector-testharness/auto-test/AutoTestTest.sh b/test/mocks/datafilecollector-testharness/auto-test/AutoTestTest.sh
index 462a7dd37..7c7d3543f 100755
--- a/test/mocks/datafilecollector-testharness/auto-test/AutoTestTest.sh
+++ b/test/mocks/datafilecollector-testharness/auto-test/AutoTestTest.sh
@@ -32,19 +32,14 @@ log_sim_settings
start_simulators
consul_config_app 0 "../simulator-group/consul/c12_feed1_PM_feed2_CTR.json"
-consul_config_dmaap 0 "../simulator-group/consul/dmaap_feed1_2_3_4_5.json"
consul_config_app 1 "../simulator-group/consul/c13_feed2_CTR.json"
-consul_config_dmaap 1 "../simulator-group/consul/dmaap_feed1_2_3_4_5.json"
consul_config_app 2 "../simulator-group/consul/c14_feed3_LOG.json"
-consul_config_dmaap 2 "../simulator-group/consul/dmaap_feed1_2_3_4_5.json"
consul_config_app 3 "../simulator-group/consul/c15_feed1_PM_feed4_TEST.json"
-consul_config_dmaap 3 "../simulator-group/consul/dmaap_feed1_2_3_4_5.json"
consul_config_app 2 "../simulator-group/consul/c16_feed4_TEST_feed5_TEMP.json"
-consul_config_dmaap 4 "../simulator-group/consul/dmaap_feed1_2_3_4_5.json"
mr_print ""
@@ -432,31 +427,34 @@ start_dfc 2
start_dfc 3
start_dfc 4
-dr_equal ctr_published_files 1 60
+dr_greater ctr_published_files 1 60
sleep_wait 30
-dr_equal ctr_published_files 1
-
mr_greater ctr_requests 1
-mr_equal ctr_events 1
-mr_equal ctr_unique_files 1
-mr_equal ctr_unique_PNFs 1
+mr_greater ctr_events 1
+mr_greater ctr_unique_files 1
+mr_greater ctr_unique_PNFs 1
-dr_equal ctr_publish_query 1
+dr_greater ctr_publish_query 1
dr_equal ctr_publish_query_published 0
-dr_equal ctr_publish_query_not_published 1
-dr_equal ctr_publish_req 1
-dr_equal ctr_publish_req_redirect 1
+dr_greater ctr_publish_query_not_published 1
+dr_greater ctr_publish_req 1
+dr_greater ctr_publish_req_redirect 1
dr_equal ctr_publish_req_published 0
-dr_equal ctr_published_files 1
+dr_greater ctr_published_files 1
dr_equal ctr_double_publish 0
-drr_equal ctr_publish_requests 1
-drr_equal ctr_publish_responses 1
+drr_greater ctr_publish_requests 1
+drr_greater ctr_publish_responses 1
+
+drr_greater dwl_volume 1000000
+
+
+####There is a risk of double publishing when running multiple DFCs.
+####The related counters ctr_publish_query_published and ctr_double_publish may be non-zero.
-drr_equal dwl_volume 1000000
check_dfc_logs