[asterisk-commits] tests/endpoints/statsd: Take into account 'samples' config e... (testsuite[master])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Nov 24 12:57:12 CST 2015
Anonymous Coward #1000019 has submitted this change and it was merged.
Change subject: tests/endpoints/statsd: Take into account 'samples' config environment
......................................................................
tests/endpoints/statsd: Take into account 'samples' config environment
The build agents run tests using the 'samples' set of configuration files. With
this set of configuration files, an anonymous endpoint will be created, which
will add additional endpoint statistics that the test was not expecting. This
patch accomodates that environment, as it is the expected one for the vast
majority of test execution.
Change-Id: I4e35788c4feeb4354cd42e09857988528808fca5
---
M tests/endpoints/statsd/test-config.yaml
1 file changed, 8 insertions(+), 1 deletion(-)
Approvals:
Anonymous Coward #1000019: Verified
Joshua Colp: Looks good to me, approved
diff --git a/tests/endpoints/statsd/test-config.yaml b/tests/endpoints/statsd/test-config.yaml
index 12549d9..cd46383 100644
--- a/tests/endpoints/statsd/test-config.yaml
+++ b/tests/endpoints/statsd/test-config.yaml
@@ -42,6 +42,10 @@
-
'endpoints\.state\.online:\+1\|g'
-
+ 'endpoints\.count:\+1\|g'
+ -
+ 'endpoints\.state\.unknown:\+1\|g'
+ -
'endpoints\.PJSIP\.test\.channels:1\|g'
-
'endpoints\.PJSIP\.test\.channels:1\|g'
@@ -61,7 +65,10 @@
'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/1704
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I4e35788c4feeb4354cd42e09857988528808fca5
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
More information about the asterisk-commits
mailing list