diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-26 12:59:36 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-09-26 13:00:35 +0200 |
commit | 89d20b60efd408d79328869f97a8103c776bf0ef (patch) | |
tree | d47095a98a072195f8719692a2fc383ca1617fd6 /openbsc/src/libbsc/bsc_init.c | |
parent | 23d37c91aff55a741d62b5d348cf791a1df6a6c8 (diff) |
vty_test_runner.py: raise exception when MSC socket connection fails
Instead of below error, raise an exception to describe what's happening.
Seen in a jenkins run on https://gerrit.osmocom.org/#/c/945/2:
ERROR: testBSCreload (__main__.TestVTYNAT)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./vty_test_runner.py", line 787, in testBSCreload
msc = nat_msc_test(self, ip, port)
File "./vty_test_runner.py", line 1251, in nat_msc_test
return conn
UnboundLocalError: local variable 'conn' referenced before assignment
Change-Id: Iae26e7345267a21aed0b108b089453832889c9fa
Diffstat (limited to 'openbsc/src/libbsc/bsc_init.c')
0 files changed, 0 insertions, 0 deletions