| Index: content/test/gpu/gpu_tests/gpu_integration_test.py
|
| diff --git a/content/test/gpu/gpu_tests/gpu_integration_test.py b/content/test/gpu/gpu_tests/gpu_integration_test.py
|
| index 21a283be021fd1b200f1974ed6ae2319de4bd986..811df39d77946fd262d9cddba0501fbd963f25fc 100644
|
| --- a/content/test/gpu/gpu_tests/gpu_integration_test.py
|
| +++ b/content/test/gpu/gpu_tests/gpu_integration_test.py
|
| @@ -126,4 +126,11 @@ class GpuIntegrationTest(
|
| raise NotImplementedError
|
|
|
| def setUp(self):
|
| - self.tab = self.browser.tabs[0]
|
| + try:
|
| + self.tab = self.browser.tabs[0]
|
| + except Exception:
|
| + # restart the browser to make sure a failure in a test doesn't
|
| + # propagate to the next test iteration.
|
| + logging.exception("Failure during browser startup")
|
| + self._RestartBrowser('failure in setup')
|
| + raise
|
|
|