Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1128)

Unified Diff: content/test/gpu/gpu_tests/webgl_conformance_integration_test.py

Issue 2149823002: Not for commit: force failure in the first WebGL conformance test. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/gpu/gpu_tests/webgl_conformance.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/gpu_tests/webgl_conformance_integration_test.py
diff --git a/content/test/gpu/gpu_tests/webgl_conformance_integration_test.py b/content/test/gpu/gpu_tests/webgl_conformance_integration_test.py
index 5e4d80807a856b31e68c86c5e119fa475a2cf80b..04a0be8489f616928df8b5e2e23a9feac59d9ea3 100644
--- a/content/test/gpu/gpu_tests/webgl_conformance_integration_test.py
+++ b/content/test/gpu/gpu_tests/webgl_conformance_integration_test.py
@@ -12,6 +12,8 @@ class WebGLConformanceIntegrationTest(gpu_integration_test.GpuIntegrationTest):
_webgl_version = None
+ _first_time = True
+
@classmethod
def Name(cls):
return 'webgl_conformance'
@@ -44,8 +46,12 @@ class WebGLConformanceIntegrationTest(gpu_integration_test.GpuIntegrationTest):
url = self.UrlOfStaticFilePath(test_path)
harness_script = webgl_conformance.conformance_harness_script
self.tab.Navigate(url, script_to_evaluate_on_commit=harness_script)
+ if self.__class__._first_time:
+ self.__class__._first_time = False
+ # Try also replacing this with chrome://crash
+ self.tab.Navigate('chrome://gpucrash', timeout=5)
self.tab.action_runner.WaitForJavaScriptCondition(
- 'webglTestHarness._finished', timeout_in_seconds=300)
+ 'webglTestHarness._finished', timeout_in_seconds=10)
if not webgl_conformance._DidWebGLTestSucceed(self.tab):
self.fail(webgl_conformance._WebGLTestMessages(self.tab))
« no previous file with comments | « content/test/gpu/gpu_tests/webgl_conformance.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698