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..2f9128aacc9484a8835a4a55b6c61933e90bdb65 100644 |
--- a/content/test/gpu/gpu_tests/gpu_integration_test.py |
+++ b/content/test/gpu/gpu_tests/gpu_integration_test.py |
@@ -126,4 +126,9 @@ class GpuIntegrationTest( |
raise NotImplementedError |
def setUp(self): |
- self.tab = self.browser.tabs[0] |
+ try: |
+ self.tab = self.browser.tabs[0] |
+ except Exception: |
Ken Russell (switch to Gerrit)
2016/07/15 18:05:24
Please call exception_formatter.PrintFormattedExce
nednguyen
2016/07/15 18:11:15
Recently I found out about pythons' log.exception(
Ken Russell (switch to Gerrit)
2016/07/16 01:09:54
Aha. Very good, we should file a cleanup bug. :)
eyaich
2016/07/21 17:58:06
Done.
|
+ # restart the browser to make sure a failure in a test doesn't |
+ # propagate to the next test iteration. |
+ self._RestartBrowser('failure in setup') |