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

Unified Diff: ios/web/browser_state_web_view_partition_inttest.mm

Issue 2692983004: Increase timeout to reduce ios_web_inttests flake. (Closed)
Patch Set: Update timeout to use constant. Created 3 years, 10 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/browser_state_web_view_partition_inttest.mm
diff --git a/ios/web/browser_state_web_view_partition_inttest.mm b/ios/web/browser_state_web_view_partition_inttest.mm
index 43499b45e85afb728e20b3e52c1b65515552f1e9..906ceb219bff19c4697ee152f60fd098aba68965 100644
--- a/ios/web/browser_state_web_view_partition_inttest.mm
+++ b/ios/web/browser_state_web_view_partition_inttest.mm
@@ -11,6 +11,7 @@
#import "base/mac/scoped_nsobject.h"
#include "base/memory/ptr_util.h"
#import "base/test/ios/wait_util.h"
+#include "base/test/test_timeouts.h"
#include "ios/web/public/browser_state.h"
#import "ios/web/public/test/http_server.h"
#import "ios/web/public/test/js_test_util.h"
@@ -114,9 +115,11 @@ class BrowserStateWebViewPartitionTest : public web::WebIntTest {
NSURL* url = net::NSURLWithGURL(server.MakeUrl("http://whatever/"));
[web_view loadRequest:[NSURLRequest requestWithURL:url]];
- base::test::ios::WaitUntilCondition(^bool {
- return [navigation_delegate didFinishNavigation];
- });
+ base::test::ios::WaitUntilCondition(
+ ^bool {
+ return [navigation_delegate didFinishNavigation];
+ },
+ false, TestTimeouts::action_max_timeout());
web_view.navigationDelegate = old_navigation_delegate;
}
« 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