Skip to content
Browse files

Bug 837356 - sut_lib soft_reboot_and_verify sometimes prints out "Rem…

…ote Device Error:" even in success conditions. r=Callek
  • Loading branch information...
1 parent 20ef932 commit 492457af7997e4100eacb91bc8ee6733f04b44f6 @jmaher jmaher committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 sut_tools/
6 sut_tools/
@@ -517,7 +517,7 @@ def waitForDevice(dm, waitTime=120):
return retVal
-def _waitForDevice(dm, waitTime=120):
+def _waitForDevice(dm, waitTime=120, silent=False):"Waiting for device to come back...")
deviceIsBack = False
@@ -535,7 +535,7 @@ def _waitForDevice(dm, waitTime=120):
deviceIsBack = True
- if not deviceIsBack:
+ if not deviceIsBack and not silent:
log.error("Remote Device Error: waiting for device timed out.")
return False
return True
@@ -549,7 +549,7 @@ def soft_reboot_and_verify(device, dm, waitTime=90, max_attempts=5, *args, **kwa
if not retVal:
- if _waitForDevice(dm, waitTime):
+ if _waitForDevice(dm, waitTime, silent=True):
return True
return False

0 comments on commit 492457a

Please sign in to comment.
Something went wrong with that request. Please try again.