[Asterisk-code-review] SIP: Rewrite tcpauthtimeout test in python (testsuite[master])
Mark Michelson
asteriskteam at digium.com
Fri Jul 31 09:36:59 CDT 2015
Mark Michelson has uploaded a new patch set (#3).
Change subject: SIP: Rewrite tcpauthtimeout test in python
......................................................................
SIP: Rewrite tcpauthtimeout test in python
What was formerly a single Lua test has been split into two python
tests, though the functionality of the tests is identical.
timeout_should_happen: In this test, arbitrary data is written to the
SIP TCP socket in Asterisk, and we ensure that the connection is dropped
after the configured time in sip.conf
timeout_should_not_happen: This is a simple invocation of a SIPp UAC
scenario. The call lasts longer than the configured auth timeout, but
since the call is successfully established, the timeout should be
irrelevant. The test passes if the SIPp scenario passes.
ASTERISK-25225
Reported by Matt Jordan
Change-Id: I4413f70bfb06110e8f1ba61041e0769214f2a539
---
D tests/channels/SIP/tcpauthtimeout/run-test
D tests/channels/SIP/tcpauthtimeout/test.lua
A tests/channels/SIP/tcpauthtimeout/tests.yaml
A tests/channels/SIP/tcpauthtimeout/timeout_should_happen/configs/ast1/sip.conf
A tests/channels/SIP/tcpauthtimeout/timeout_should_happen/test-config.yaml
A tests/channels/SIP/tcpauthtimeout/timeout_should_happen/timeout.py
A tests/channels/SIP/tcpauthtimeout/timeout_should_not_happen/configs/ast1/extensions.conf
A tests/channels/SIP/tcpauthtimeout/timeout_should_not_happen/configs/ast1/sip.conf
A tests/channels/SIP/tcpauthtimeout/timeout_should_not_happen/sipp/uac.xml
A tests/channels/SIP/tcpauthtimeout/timeout_should_not_happen/test-config.yaml
M tests/channels/SIP/tests.yaml
11 files changed, 304 insertions(+), 134 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/79/979/3
--
To view, visit https://gerrit.asterisk.org/979
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I4413f70bfb06110e8f1ba61041e0769214f2a539
Gerrit-PatchSet: 3
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
More information about the asterisk-code-review
mailing list