[MERGED] openbsc[master]: Revert "vty tests: more attempts to resolve sporadic 'Broken...

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Feb 3 04:57:30 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: Revert "vty tests: more attempts to resolve sporadic 'Broken Pipe' error"
......................................................................


Revert "vty tests: more attempts to resolve sporadic 'Broken Pipe' error"

'self' will not be accessible in that context, so this patch isn't
useful.

This reverts commit b39053ad6de50df5a2efcb4ec0c6551020b513e1.

Change-Id: Ic1a9ba5fdfd7bdc6c5cf0974e8c637ae23b81ece
---
M openbsc/tests/vty_test_runner.py
1 file changed, 1 insertion(+), 3 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved; Verified



diff --git a/openbsc/tests/vty_test_runner.py b/openbsc/tests/vty_test_runner.py
index 64fd86d..608aef4 100644
--- a/openbsc/tests/vty_test_runner.py
+++ b/openbsc/tests/vty_test_runner.py
@@ -1269,12 +1269,10 @@
                 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 in a second (%d attempts left)" % retries
-                time.sleep(1)
+                print "\tretrying (%d attempts left)" % retries
                 retries -= 1
     else:
         if (verbose):

-- 
To view, visit https://gerrit.osmocom.org/1738
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic1a9ba5fdfd7bdc6c5cf0974e8c637ae23b81ece
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>


More information about the gerrit-log mailing list