Summary: | ASTERISK-21253: Create a test realtime backend suitable for driving Asterisk Test Suite tests | ||||
Reporter: | Matt Jordan (mjordan) | Labels: | Asterisk12 NewSIP | ||
Date Opened: | 2013-03-15 08:04:52 | Date Closed: | 2013-05-18 15:17:47 | ||
Priority: | Major | Regression? | No | ||
Status: | Closed/Complete | Components: | Tests/General | ||
Versions: | Frequency of Occurrence | ||||
Related Issues: |
| ||||
Environment: | Attachments: | ||||
Description: | It has become apparent that it is rather difficult to test dynamic realtime functionality using the available realtime backends.
# They typically require a third party system to store the records (MySQL, Sqlite3, etc.) # For each test run, they require a 'fresh' database/table # They require significant system configuration that may be difficult to automate with bamboo agents This task is to create a specialized test realtime backend that, from the perspective of a unit using ARA, is a dynamic realtime provider. However, it should provide the Test Suite with the ability to retrieve, update, create, and otherwise manipulate the records that it 'stores'. The following should be possible: * Before a test run, an initial configuration of the stored objects can be provided to the realtime provider * During a test run, the objects can be updated either by Asterisk or by an external entity * After a test run, the final state of the objects can be obtained (note that this can still be through Asterisk - the 'after' a test run can be after all actions have taken place but before shutdown) This could be as simple as a realtime backend that persists objects in memory and exposes those objects over AMI to the Test Suite. | ||||
Comments: |