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

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

Issue 450493002: Added test expectations for context_lost and suppressed flaky failure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « no previous file | content/test/gpu/gpu_tests/context_lost_expectations.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/gpu_tests/context_lost.py
diff --git a/content/test/gpu/gpu_tests/context_lost.py b/content/test/gpu/gpu_tests/context_lost.py
index b691e8f3565cc17199fa661f6f83b9978341f3dd..eb4e334ae1a2a8da7e13c2a1d47e4dfea98930bd 100644
--- a/content/test/gpu/gpu_tests/context_lost.py
+++ b/content/test/gpu/gpu_tests/context_lost.py
@@ -4,6 +4,8 @@
import os
import time
+import context_lost_expectations
+
from telemetry import benchmark as benchmark_module
from telemetry.core import exceptions
from telemetry.core import util
@@ -283,6 +285,10 @@ class WebGLContextLostFromSelectElementPage(page.Page):
class ContextLost(benchmark_module.Benchmark):
enabled = True
test = _ContextLostValidator
+
+ def CreateExpectations(self, page_set):
+ return context_lost_expectations.ContextLostExpectations()
+
# For the record, this would have been another way to get the pages
# to repeat. pageset_repeat would be another option.
# options = {'page_repeat': 5}
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/context_lost_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698