| 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 e32cc538bb4516d83f78b0e9cc7b8ad50eeaf61a..c05093ff2693252590c5ff5ef133c0f96b31c891 100644
|
| --- a/content/test/gpu/gpu_tests/gpu_integration_test.py
|
| +++ b/content/test/gpu/gpu_tests/gpu_integration_test.py
|
| @@ -69,6 +69,11 @@ class GpuIntegrationTest(
|
| elif expectation == 'fail':
|
| msg = 'Expected exception while running %s' % test_name
|
| exception_formatter.PrintFormattedException(msg=msg)
|
| + # Even though this is a known failure, the browser might still
|
| + # be in a bad state; for example, certain kinds of timeouts
|
| + # will affect the next test. Restart the browser to prevent
|
| + # these kinds of failures propagating to the next test.
|
| + self._RestartBrowser('expected test failure')
|
| return
|
| if expectation != 'flaky':
|
| logging.warning(
|
|
|