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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

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


Review at  https://gerrit.osmocom.org/1738

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(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/38/1738/1

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: newchange
Gerrit-Change-Id: Ic1a9ba5fdfd7bdc6c5cf0974e8c637ae23b81ece
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list