Commit 907ceb8d authored by Owen Min's avatar Owen Min Committed by Commit Bot

Renable MachineLevelUserCloudPolicyEnrollmentTest.Test on Win DBG.

The failure is not able to be reproduced. Going to re-enable the test
and watch.


Change-Id: I385491388093be9701ed0ff2b58ba6553311f443
Bug: 984902
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1756863Reviewed-by: default avatarJulian Pastarmov <pastarmovj@chromium.org>
Commit-Queue: Owen Min <zmin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#687660}
parent 8c433656
...@@ -508,13 +508,7 @@ class MachineLevelUserCloudPolicyEnrollmentTest ...@@ -508,13 +508,7 @@ class MachineLevelUserCloudPolicyEnrollmentTest
DISALLOW_COPY_AND_ASSIGN(MachineLevelUserCloudPolicyEnrollmentTest); DISALLOW_COPY_AND_ASSIGN(MachineLevelUserCloudPolicyEnrollmentTest);
}; };
// Disabled on Windows dbg due to failures; see https://crbug.com/984902. IN_PROC_BROWSER_TEST_P(MachineLevelUserCloudPolicyEnrollmentTest, Test) {
#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 // Test body is run only if enrollment is succeeded or failed without error
// message. // message.
EXPECT_TRUE(is_enrollment_token_valid() || !should_display_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