Commit 5bfbf1dd authored by Tina Wang's avatar Tina Wang Committed by Commit Bot

Disabled EnrollmentRecoveryTest.Success on Linux because of consistently timing out

Bug: 1025220
Tbr: rsorokin@chromium.org
Change-Id: Ic8896aec0851dbe7a7fd65190ec21753fc39878c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1917966Reviewed-by: default avatarTina Wang <tinazwang@chromium.org>
Commit-Queue: Tina Wang <tinazwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#715700}
parent 7f42db61
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "ash/public/cpp/login_screen_test_api.h" #include "ash/public/cpp/login_screen_test_api.h"
#include "base/bind.h" #include "base/bind.h"
#include "base/values.h" #include "base/values.h"
#include "build/build_config.h"
#include "chrome/browser/browser_process.h" #include "chrome/browser/browser_process.h"
#include "chrome/browser/browser_process_platform_part.h" #include "chrome/browser/browser_process_platform_part.h"
#include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/chrome_notification_types.h"
...@@ -636,7 +637,13 @@ class EnrollmentRecoveryTest : public EnrollmentLocalPolicyServerBase { ...@@ -636,7 +637,13 @@ class EnrollmentRecoveryTest : public EnrollmentLocalPolicyServerBase {
DISALLOW_COPY_AND_ASSIGN(EnrollmentRecoveryTest); DISALLOW_COPY_AND_ASSIGN(EnrollmentRecoveryTest);
}; };
IN_PROC_BROWSER_TEST_F(EnrollmentRecoveryTest, Success) { // Consistently timing out on Linux. http://crbug.com/1025220
#if defined(OS_LINUX)
#define MAYBE_Success DISABLED_Success
#else
#define MAYBE_Success Success
#endif
IN_PROC_BROWSER_TEST_F(EnrollmentRecoveryTest, MAYBE_Success) {
test::SkipToEnrollmentOnRecovery(); test::SkipToEnrollmentOnRecovery();
ASSERT_TRUE(StartupUtils::IsDeviceRegistered()); ASSERT_TRUE(StartupUtils::IsDeviceRegistered());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment