[Asterisk-code-review] RFC: Add runtime option that allows automatic realtime execu... (testsuite[master])

Mark Michelson asteriskteam at digium.com
Thu Dec 17 15:10:51 CST 2015


Mark Michelson has posted comments on this change.

Change subject: RFC: Add runtime option that allows automatic realtime execution.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/1803/1/lib/python/asterisk/test_runner.py
File lib/python/asterisk/test_runner.py:

Line 134:     if realtime:
        :         # Realtime conversion pluggable module needs to be loaded. Its
        :         # configuration is found in the global test-config.yaml file, in the
        :         # "realtime-config" section.
        :         realtime_config = test_object.global_config.realtime_config
        :         realtime_class = 'realtime_converter.RealtimeConverter'
        :         module_type = load_and_parse_module(realtime_class)
        :         module_type(realtime_config, test_object)
> What would happen if a test also had a realtime plugin configured non-globa
I'm going to address this finding, but not necessarily how you suggested it. The big reason is that I don't think that loading the global plugin first would allow for the local plugin to override the global one. Instead, I think you'd just end up with weird conflicting plugins. What I'm going to do instead is to conditionally load the global plugin if a local one was not also loaded.


-- 
To view, visit https://gerrit.asterisk.org/1803
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ieec1b1cfa48cadab108c4ab65122ce36ab697e4e
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list