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 b39053ad6d.

Change-Id: Ic1a9ba5fdfd7bdc6c5cf0974e8c637ae23b81ece
This commit is contained in:
Neels Hofmeyr 2017-02-03 05:55:26 +01:00
parent d675515bd4
commit e02e1e782f
1 changed files with 1 additions and 3 deletions

View File

@ -1269,12 +1269,10 @@ 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 in a second (%d attempts left)" % retries
time.sleep(1)
print "\tretrying (%d attempts left)" % retries
retries -= 1
else:
if (verbose):