Commit ffd0afcd authored by Greg Thompson's avatar Greg Thompson Committed by Commit Bot

Disabling MachineLevelUserCloudPolicyEnrollmentTest.Test on Win dbg.

BUG=984902
TBR=zmin@chromium.org

Change-Id: Ifa70f9f3490853b9f91ffab6f674356758e003fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1705796Reviewed-by: default avatarGreg Thompson <grt@chromium.org>
Commit-Queue: Greg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#678229}
parent 597d1278
......@@ -506,7 +506,13 @@ class MachineLevelUserCloudPolicyEnrollmentTest
DISALLOW_COPY_AND_ASSIGN(MachineLevelUserCloudPolicyEnrollmentTest);
};
IN_PROC_BROWSER_TEST_P(MachineLevelUserCloudPolicyEnrollmentTest, Test) {
// Disabled on Windows dbg due to failures; see https://crbug.com/984902.
#if defined(OS_WIN) && !defined(NDEBUG)
#define MAYBE_Test DISABLED_Test
#else
#define MAYBE_Test Test
#endif
IN_PROC_BROWSER_TEST_P(MachineLevelUserCloudPolicyEnrollmentTest, MAYBE_Test) {
// Test body is run only if enrollment is succeeded or failed without error
// message.
EXPECT_TRUE(is_enrollment_token_valid() || !should_display_error_message());
......
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