-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathtest-config.yaml
More file actions
executable file
·60 lines (54 loc) · 1.5 KB
/
test-config.yaml
File metadata and controls
executable file
·60 lines (54 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
testinfo:
summary: 'Ensure that MixMonitor called in a loop acts sanely.'
description: |
'This tests calling MixMonitor in a loop to ensure that
duplicate recordings do not get opened, consuming all
available file descriptor resources.'
test-modules:
test-object:
config-section: test-object-config
typename: 'test_case.TestCaseModule'
modules:
-
config-section: caller-originator
typename: 'pluggable_modules.Originator'
-
config-section: hangup-monitor
typename: 'pluggable_modules.HangupMonitor'
-
config-section: ami-config
typename: 'pluggable_modules.EventActionModule'
test-object-config:
connect-ami: True
caller-originator:
channel: 'Local/s@default'
context: 'nothing'
exten: '0'
priority: '1'
trigger: 'ami_connect'
hangup-monitor:
ids: '0'
ami-config:
-
ami-events:
conditions:
match:
Event: 'UserEvent'
UserEvent: 'MixMonitorSuccess'
requirements:
match:
Result: 'Pass'
count: 1
stop_test:
properties:
tags:
- dial
- apps
dependencies:
- python: 'twisted'
- python: 'starpy'
- asterisk: 'app_dial'
- asterisk: 'app_userevent'
- asterisk: 'app_originate'
- asterisk: 'app_mixmonitor'
- asterisk: 'pbx_config'