diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-02-03 04:17:49 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-02-03 04:17:49 +0100 |
commit | b39053ad6de50df5a2efcb4ec0c6551020b513e1 (patch) | |
tree | 7858608aba745d4091ba862826f86004b79f2c27 /openbsc/tests | |
parent | 7d17c3ef61c31540a45fb31cd42fbca6a932964b (diff) |
vty tests: more attempts to resolve sporadic 'Broken Pipe' error
Change-Id: I3d833ddf8c62845fe68d1e5503332541a4a04a2d
Diffstat (limited to 'openbsc/tests')
-rw-r--r-- | openbsc/tests/vty_test_runner.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsc/tests/vty_test_runner.py b/openbsc/tests/vty_test_runner.py index 7b25d1097..3fbe20d09 100644 --- a/openbsc/tests/vty_test_runner.py +++ b/openbsc/tests/vty_test_runner.py @@ -1267,10 +1267,12 @@ def ipa_handle_resp(x, tk, verbose = False): break except: print "\tfailed sending IPA identity at", time.strftime("%T") + print "\tself.proc.poll(): ", repr(self.proc.poll()) if retries < 1: print "\tgiving up" raise - print "\tretrying (%d attempts left)" % retries + print "\tretrying in a second (%d attempts left)" % retries + time.sleep(1) retries -= 1 else: if (verbose): |