Victor Seva
8573448f38
TT#8901 run_tests.sh: remove debug change
...
* change was introduced when debugging the issue with soundsets
Change-Id: Ide2bbe8e054ec821f9e920d946107411c5490c0a
9 years ago
Victor Seva
9f60a7bbd5
TT#8901 soundsets: add sounds file to package
...
* check soundfile path
Change-Id: I0698bf029e527b89cc561f69c079a8e46f6bd0ed
9 years ago
Victor Seva
af1467a751
TT#4475 run_tests.sh: add timeout parameter and set 300 as default
...
* the duration of the ngcp-apply depends on the environment so
lets try to be more friendly
Change-Id: I6fcee6a5585fa9e2cd74954f3ac0355334647552
10 years ago
Victor Seva
407517a48a
TT#4110 Initial support for PBX scenarios
...
* run_test.sh: add hacks for pbx
* bin/pid_watcher.py: add --pbx parameter to control
what services we need to check for.
* invite: simple call to an extenston from another PBX user
same customer. WARNING!! do not use customer.test, that
one is SIP only
* fix tap-test:
- source/tests/test_check.py:34:1: E302 expected 2 blank lines, found 1
- source/tests/test_check.py:96:54: E202 whitespace before '}'
* wrap-and-sort -sat
Change-Id: Iabb5139e70fd372088933fe9302b996148d38705
10 years ago
Victor Seva
60379ecc4c
MT#19053 use -x for set the GROUP
...
* show GROUP in output
Change-Id: I9d004a76181da7373ca9ca3f1c423dc7bd0033d6
10 years ago
Victor Seva
1d9026e0f9
MT#17333 add lnp scenarios group
...
* add suport for lnp.yml
* update README
Change-Id: I6460a9a52f8d4645fb9411d0570fd3383b8e6918
10 years ago
Victor Seva
d6bd38fd16
MT#19053 support groups of scenarios
...
* bin/config_debug.pl:
- use YAML instead of YAML::Tiny
- support config.yml per group
Change-Id: I226cb1ef776fa147e0b4d85a5e4f9987427a51e2
10 years ago
Victor Seva
129397e6fc
MT#7571 use NGCP REST API instead of SOAP lib
...
- prefs.yml -> prefs.json
solving true/1 problem
- disable non working scenarios:
* incoming_foreign_dom
* incoming_peer
* invite_concurrent_max_out
* invite_concurrent_max_out_per_account
* invite_ignore_allowip
* invite_peerout
* invite_peerout_rewrite
* invite_peerout_rewrite_pv_regex
* register_allowip
* register_ignore_allowip
missing API parts:
- peers settings
- add/modify/delete peers
* bin/create_peers.pl
* bin/update_peer_host.pl
TODO:
- bin/create_ncos.pl
- bin/create_rewrite_rules.pl
- bin/create_subscribers_rewrite_rules.pl
- bin/create_subscribers_speeddial_rules.pl
Change-Id: I6d47e24669f9da22b5b3ac4fb410c50d2c9dbf53
10 years ago
Michael Prokop
80fc751c4d
MT#15943 Provide commit message to 'ngcpcfg apply'
...
Related to https://gerrit.mgm.sipwise.com/#/c/3050/
Change-Id: Ia6882e190cdf81aaa010d76359a5a530b065854f
11 years ago
Victor Seva
587d056de9
MT#14229 fix shellcheck warnings
...
Fixing the test -z -n mess I notice
that ./run_test.sh needed a missing -J
for creating the initial KAM_DIR (cfgtest)
Change-Id: Ic0832c977657248852f5795cd35851f881299cf9
11 years ago
Victor Seva
e1a76fb1f4
MT#6565 kamailio saving json using uuid for tests
...
- fix check.py comparation when int -> string
- disable tcpdump by default ( new option -K to enable it)
- fix graph_flow for json ( new option --json )
Change-Id: I25f49ef6303b4e2e28c34fefd7860c744e6c3250
11 years ago
Victor Seva
1bce64b713
MT#6499 pid_watcher.py: create logging file here not by run_tests.sh
...
This fixes strange problem having empty log/pid_watcher.log file
12 years ago
Victor Seva
d75a861967
MT#7523 allow use of SCENARIOS env var
12 years ago
Victor Seva
0af7ebdb29
MT#6817 add ngcpcfg apply result to output. fix
12 years ago
Victor Seva
f77b10ca6a
MT#6817 add ngcpcfg apply result to output
12 years ago
Victor Seva
fcb8961489
MT#6817 set debug off if error. Add pid_watcher log
12 years ago
Victor Seva
ae5d564192
MT#6817 Stop tests if ngcpcfg apply returns error
12 years ago
Victor Seva
75bd40d1a2
MT#7109 fix last commit
12 years ago
Victor Seva
2d366116dd
MT#7109 use profile and version in the mem files
12 years ago
Victor Seva
8129a1395b
MT#7109 fix copy paste typo
12 years ago
Victor Seva
ea6c1b4949
MT#7109 Add mem stats
...
Initial and final stats are created on mem dir.
12 years ago
Victor Seva
f5b9fda5c4
MT#6817 add pid_watcher.py
...
Use inotify in order to monitor the pid change for some services
12 years ago
Victor Seva
764528b6af
MT#5385 wait sometime for monit to restart the services after ngcpcfg apply execution
12 years ago
Victor Seva
300bb0f286
bin/check.sh: do not force skip test on skip parse
13 years ago
Victor Seva
0076efe539
Add list scenarios command
13 years ago
Michael Prokop
7471d7d324
Switch from /usr/local/src to /usr/share
...
Addressing:
| 00:53:47 3m51.5s ERROR: FAIL: After purging files have disappeared:
| 00:53:47 /usr/local/src/ owned by: kamailio-config-tests
-- https://jenkins.mgm.sipwise.com/view/piuparts/job/kamailio-config-tests-piuparts/68/console
Acked-by: Victor Seva
13 years ago
Victor Seva
c0d83bd773
Show exit status on output
13 years ago
Victor Seva
641b34151c
Exclude templates dir from tests/results
13 years ago
Victor Seva
2628aa7fbe
split logic. run_tests.sh runs the sipp scenarios. get_results.sh generates the tap files.
13 years ago
Victor Seva
7e481a8784
bin/config_debug.pl: fix on PRO
13 years ago
Victor Seva
9bbb257e0f
Added timestamp on messages
13 years ago
Victor Seva
13ea3ac85a
bin/create_subscribers.pl: remove output
...
run_tests.sh: define start and end output
13 years ago
Victor Seva
083a0a51f8
Deactivate flow graphs by default
13 years ago
Victor Seva
6a1e04c2cb
run_test.sh: do not generate tests files.
13 years ago
Victor Seva
a7fdc32d89
BASE_DIR can be set by ENV variable
13 years ago
Victor Seva
7914804505
Reorganize scripts: all scripts on bin directory except run_tests.sh
13 years ago
Victor Seva
96dc92e6cf
Added help option and try to be more verbose on usage messages
13 years ago
Victor Seva
721566900b
use templates for tests
13 years ago
Andrew Pogrebennyk
0836c2c3af
Fix typo.
13 years ago
Victor Seva
a2cc1cf9a1
use a custom DOMAIN for tests.
13 years ago
git user on spce
9bc7d39cf1
run_test.sh: exit error if any test fails.
13 years ago
Andrew Pogrebennyk
7a46e049cb
Fix flows; add new register test.
13 years ago
git user on spce
5db191bf31
Changed BASE_DIR. Delete LOG_DIR and RESULT_DIR at the begining. Remove domain if error on check.
13 years ago
Victor Seva
7249bab0d1
Initial version.
...
One single start point: run_test.sh
Each test on its directory. Normalized filenames.
13 years ago