| Index: chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc
|
| diff --git a/chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc b/chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc
|
| index e924d035b1a839e081aacede417241d4f13d6fa1..7733a2d8f711f3a56698a1c985479a149e730cdb 100644
|
| --- a/chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc
|
| +++ b/chrome/browser/policy/cloud/cloud_policy_manager_browsertest.cc
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/test/base/in_process_browser_test.h"
|
| #include "components/policy/core/browser/browser_policy_connector.h"
|
| #include "components/policy/core/common/cloud/cloud_policy_client.h"
|
| +#include "components/policy/core/common/cloud/device_management_service.h"
|
| #include "components/policy/core/common/cloud/mock_cloud_policy_client.h"
|
| #include "components/policy/core/common/policy_switches.h"
|
| #include "components/policy/core/common/policy_test_utils.h"
|
| @@ -55,6 +56,9 @@ class CloudPolicyManagerTest : public InProcessBrowserTest {
|
| base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| command_line->AppendSwitchASCII(switches::kDeviceManagementUrl,
|
| "http://localhost");
|
| +
|
| + // Set retry delay to prevent timeouts.
|
| + policy::DeviceManagementService::SetRetryDelayForTesting(0);
|
| }
|
|
|
| void SetUpOnMainThread() override {
|
|
|