Bug 772531 - detect when a tegra reboots via log file parsing, mark test as red and allow tbpl to get accurate information. r=wlach

This commit is contained in:
Joel Maher 2012-07-18 15:24:34 -04:00
Родитель 364925d677
Коммит 34a683916e
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -222,7 +222,7 @@ class DeviceManagerSUT(DeviceManager):
self._sock = None
# This error shows up with we have our tegra rebooted.
if err[0] == errno.ECONNRESET:
raise AgentError("Automation error: Error receiving data from socket (possible reboot). cmd=%s; err=%s" % (cmd, err), True)
raise AgentError("Automation error: Error receiving data from socket (possible reboot). cmd=%s; err=%s" % (cmd, err))
raise AgentError("Error receiving data from socket. cmd=%s; err=%s" % (cmd, err))
data += temp