[Asterisk-code-review] rest api/asterisk/config/dynamic/create: Make test tolerant ... (testsuite[master])

Matt Jordan asteriskteam at digium.com
Sun Jul 19 09:25:30 CDT 2015


Matt Jordan has uploaded a new change for review.

  https://gerrit.asterisk.org/932

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(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/32/932/1

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: newchange
Gerrit-Change-Id: I20d9bec751426dccb31e4ff592dc820c2a93f593
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