[asterisk-commits] rest api/asterisk/config/dynamic/create: Make test tolerant ... (testsuite[master])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jul 19 09:27:00 CDT 2015
Joshua Colp has submitted this change and it was merged.
Change subject: rest_api/asterisk/config/dynamic/create: Make test tolerant of interference
......................................................................
rest_api/asterisk/config/dynamic/create: Make test tolerant of interference
The res_pjsip_config_wizard module uses an in-memory sorcery wizard to
provide caching. If this module is loaded, it will cause the object
creation test to fail, as an object that should *not* be created will be
created due to the presence of the in-memory cache. This patch tells
this test to noload the res_pjsip_config_wizard module.
Change-Id: I20d9bec751426dccb31e4ff592dc820c2a93f593
---
A tests/rest_api/asterisk/config/dynamic/create/configs/ast1/modules.conf.inc
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
Joshua Colp: Looks good to me, approved; Verified
diff --git a/tests/rest_api/asterisk/config/dynamic/create/configs/ast1/modules.conf.inc b/tests/rest_api/asterisk/config/dynamic/create/configs/ast1/modules.conf.inc
new file mode 100644
index 0000000..f7ed103
--- /dev/null
+++ b/tests/rest_api/asterisk/config/dynamic/create/configs/ast1/modules.conf.inc
@@ -0,0 +1,5 @@
+; res_pjsip_config_wizard implicitly uses an in memory sorcery wizard
+; to cache configuration items. This would cause the test to fail,
+; as we need to verify that a wizard that does support object creation
+; will result in a 403 response.
+noload => res_pjsip_config_wizard
--
To view, visit https://gerrit.asterisk.org/932
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I20d9bec751426dccb31e4ff592dc820c2a93f593
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
More information about the asterisk-commits
mailing list