Chromium Code Reviews| 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..7c6327f2bc383a1dd3ef4baee1546dd0f7c84953 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/time/time.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, base::TimeDelta::FromSeconds(1)); |
|
Eugene But (OOO till 7-30)
2017/02/15 15:45:52
I thought on bots the default timeout is around 2
michaeldo
2017/02/16 07:55:32
It does look like the timeout is very long for "De
|
| web_view.navigationDelegate = old_navigation_delegate; |
| } |