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

Unified Diff: ios/web/shell/test/web_shell_navigation_egtest.mm

Issue 2014593002: Create temporary Earl Grey test that is flaky on FYI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/test/web_shell_navigation_egtest.mm
diff --git a/ios/web/shell/test/web_shell_navigation_egtest.mm b/ios/web/shell/test/web_shell_navigation_egtest.mm
index e3a58281a5b9764af9cfc3d648af87073c3298d2..26fad4390cdf49ab6b56446d157b26ee165b0144 100644
--- a/ios/web/shell/test/web_shell_navigation_egtest.mm
+++ b/ios/web/shell/test/web_shell_navigation_egtest.mm
@@ -139,4 +139,11 @@
assertWithMatcher:grey_notNil()];
}
+// Tests that sometimes passing and failing makes the bots red.
+// TODO(crbug.com/614729): Remove this test once it is verified that
+// infrastructure is properly working.
+- (void)testCoinFlip {
+ GREYAssertTrue(arc4random_uniform(10) < 5, @"Failed coin flip.");
baxley 2016/05/25 16:36:56 I used arc4random since it's included in stdlib, a
+}
+
@end
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698