[Asterisk-code-review] endpoints/statsd: Fix the expected stats for 'make samples' ... (testsuite[master])
Matt Jordan
asteriskteam at digium.com
Wed Dec 30 17:43:49 CST 2015
Matt Jordan has uploaded a new change for review.
https://gerrit.asterisk.org/1887
Change subject: endpoints/statsd: Fix the expected stats for 'make samples' configuration
......................................................................
endpoints/statsd: Fix the expected stats for 'make samples' configuration
When run with a set of configuration files installed by 'make samples', the
endpoints/statsd test will currently fail. This is due to one of the channel
drivers with a 'sample' configuration creating an endpoint in addition to the
endpoints created by the test.
This patch updates the test (again) to track the expected events with the
configuration that the CI infrastructure runs with.
ASTERISK-25137
Change-Id: I704649c4dcf3b72a750fb8db0fa6347700670d4f
---
M tests/endpoints/statsd/test-config.yaml
1 file changed, 7 insertions(+), 7 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/87/1887/1
diff --git a/tests/endpoints/statsd/test-config.yaml b/tests/endpoints/statsd/test-config.yaml
index ce19da9..a96098c 100644
--- a/tests/endpoints/statsd/test-config.yaml
+++ b/tests/endpoints/statsd/test-config.yaml
@@ -42,25 +42,25 @@
-
'endpoints\.state\.online:\+1\|g'
-
- 'endpoints\.PJSIP\.test\.channels:1\|g'
+ 'endpoints\.count:\+1\|g'
+ -
+ 'endpoints\.state\.unknown:\+1\|g'
-
'endpoints\.PJSIP\.test\.channels:1\|g'
-
'endpoints\.PJSIP\.test\.channels:2\|g'
-
- 'endpoints\.PJSIP\.test\.channels:2\|g'
- -
'endpoints\.PJSIP\.test\.channels:1\|g'
- -
- 'endpoints\.PJSIP\.test\.channels:1\|g'
- -
- 'endpoints\.PJSIP\.test\.channels:0\|g'
-
'endpoints\.PJSIP\.test\.channels:0\|g'
-
'endpoints\.count:\-1\|g'
-
'endpoints\.state\.online:\-1\|g'
+ -
+ 'endpoints\.count:\-1\|g'
+ -
+ 'endpoints\.state\.unknown:\-1\|g'
originator-config:
channel: 'PJSIP/test'
--
To view, visit https://gerrit.asterisk.org/1887
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I704649c4dcf3b72a750fb8db0fa6347700670d4f
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
More information about the asterisk-code-review
mailing list