[Asterisk-code-review] test_config.py: Use faster method for checking IPv6 support in pjsua (testsuite[13])

Sean Bright asteriskteam at digium.com
Wed Jan 8 13:33:06 CST 2020


Sean Bright has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/c/testsuite/+/13583 )

Change subject: test_config.py: Use faster method for checking IPv6 support in pjsua
......................................................................

test_config.py: Use faster method for checking IPv6 support in pjsua

When running `pjsua --help` there is a long delay after the command
completes while pjsua_destroy2() is executing. There does not seem to be
a combination of command line flags that will prevent that from occurring.

Instead, we grep the pjsua binary for the '--ipv6' command line flag
which would not be present if pjsua was not built with IPv6 support.

This shaves about 1 second off of a ./run-tests -l

Change-Id: I59071a363611dff192ef3df80ecd262184d1bbf2
---
M lib/python/asterisk/test_config.py
1 file changed, 5 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/83/13583/2
-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/13583
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 13
Gerrit-Change-Id: I59071a363611dff192ef3df80ecd262184d1bbf2
Gerrit-Change-Number: 13583
Gerrit-PatchSet: 2
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200108/7ea0162a/attachment.html>


More information about the asterisk-code-review mailing list