Index: content/test/gpu/gpu_tests/pixel.py |
diff --git a/content/test/gpu/gpu_tests/pixel.py b/content/test/gpu/gpu_tests/pixel.py |
index f20bc33958a53250fd02aa31aee2008915e3ba7b..52acf469241c1d96c6f398f68ea1005eec159cbc 100644 |
--- a/content/test/gpu/gpu_tests/pixel.py |
+++ b/content/test/gpu/gpu_tests/pixel.py |
@@ -51,7 +51,10 @@ def _DidTestSucceed(tab): |
class PixelValidator(cloud_storage_test_base.ValidatorBase): |
def CustomizeBrowserOptions(self, options): |
- options.AppendExtraBrowserArgs('--enable-gpu-benchmarking') |
+ # --test-type=gpu is used only to suppress the "Google API Keys are missing" |
+ # infobar, which causes flakiness in tests. |
+ options.AppendExtraBrowserArgs(['--enable-gpu-benchmarking', |
+ '--test-type=gpu']) |
def ValidateAndMeasurePage(self, page, tab, results): |
if not _DidTestSucceed(tab): |