зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1191477 - Retry Android test job if unable to install an apk; r=kmoir
This commit is contained in:
Родитель
f9ad8060cc
Коммит
48738d3244
|
@ -645,13 +645,13 @@ class AndroidEmulatorTest(BlobUploadMixin, TestingMixin, EmulatorMixin, VCSMixin
|
|||
# Install Fennec
|
||||
install_ok = self._retry(3, 30, self._install_fennec_apk, "Install Fennec APK")
|
||||
if not install_ok:
|
||||
self.fatal('Failed to install %s on %s' % (self.installer_path, self.emulator["name"]))
|
||||
self.fatal('INFRA-ERROR: Failed to install %s on %s' % (self.installer_path, self.emulator["name"]))
|
||||
|
||||
# Install Robocop if required
|
||||
if self.test_suite.startswith('robocop'):
|
||||
install_ok = self._retry(3, 30, self._install_robocop_apk, "Install Robocop APK")
|
||||
if not install_ok:
|
||||
self.fatal('Failed to install %s on %s' % (self.robocop_path, self.emulator["name"]))
|
||||
self.fatal('INFRA-ERROR: Failed to install %s on %s' % (self.robocop_path, self.emulator["name"]))
|
||||
|
||||
self.info("Finished installing apps for %s" % self.emulator["name"])
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче