Bug 808419 - remoteautomation.py's waitForFinish() should print to the log when maxTime is reached; r=jmaher a=test-only

This commit is contained in:
Ed Morley 2012-11-12 09:49:26 +00:00
Родитель 35ef87839a
Коммит bcadcdeb55
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -73,6 +73,8 @@ class RemoteAutomation(Automation):
if (status == 1 and self._devicemanager.processExist(proc.procName)):
# Then we timed out, make sure Fennec is dead
print "TEST-UNEXPECTED-FAIL | %s | application ran for longer than " \
"allowed maximum time of %d seconds" % (self.lastTestSeen, int(maxTime))
proc.kill()
return status