[Asterisk-code-review] bob does not exist: sometimes fails due to sipp scenario bei... (testsuite[master])

Kevin Harwell asteriskteam at digium.com
Thu Feb 18 12:44:20 CST 2016


Kevin Harwell has uploaded a new change for review.

  https://gerrit.asterisk.org/2277

Change subject: bob_does_not_exist: sometimes fails due to sipp scenario being closed early
......................................................................

bob_does_not_exist: sometimes fails due to sipp scenario being closed early

The 'tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist'
would sporadically fail when the tcp sipp scenarios were killed too early. This
occurred because the test was being stopped upon receiving the first of the
expected hangup events. When this happened pjsip reported the socket as closed,
resulting in a "CONGESTED" hangup cause.

Added a 'trigger-on-count' parameter to the offending event action chain so that
the stop action won't trigger until all events have been received.

SWP-8433

Change-Id: I0b8f3922bfca5446db298d50363a89a13c06e89d
---
M tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/77/2277/1

diff --git a/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml b/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
index 5c93a67..b6909c6 100644
--- a/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
+++ b/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
@@ -162,6 +162,7 @@
                 match:
                     Cause: '18'
             count: '4'
+            trigger-on-count: True
         stop_test:
 
 properties:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0b8f3922bfca5446db298d50363a89a13c06e89d
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>



More information about the asterisk-code-review mailing list