aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/vty_test_runner.py
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-03 04:17:49 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-02-03 04:17:49 +0100
commitb39053ad6de50df5a2efcb4ec0c6551020b513e1 (patch)
tree7858608aba745d4091ba862826f86004b79f2c27 /openbsc/tests/vty_test_runner.py
parent7d17c3ef61c31540a45fb31cd42fbca6a932964b (diff)
vty tests: more attempts to resolve sporadic 'Broken Pipe' error
Diffstat (limited to 'openbsc/tests/vty_test_runner.py')
-rw-r--r--openbsc/tests/vty_test_runner.py4
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):