Commit 7ebbe639 authored by Xiaocheng Hu's avatar Xiaocheng Hu Committed by Commit Bot

Disable flaky DemoSetupArcSupportedTest tests

Bug: 1121422
Change-Id: Ic4ae72842f34099241422e0498aac998fdd8012f
NoTry: True
Tbr: agawronska@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2376374Reviewed-by: default avatarXiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801586}
parent 75da164e
...@@ -514,8 +514,16 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, InvokeWithTaps) { ...@@ -514,8 +514,16 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, InvokeWithTaps) {
EXPECT_TRUE(IsConfirmationDialogShown()); EXPECT_TRUE(IsConfirmationDialogShown());
} }
// TODO(https://crbug.com/1121422): Flaky on ChromeOS ASAN.
#if defined(ADDRESS_SANITIZER)
#define MAYBE_DoNotInvokeWithNonConsecutiveTaps \
DISABLED_DoNotInvokeWithNonConsecutiveTaps
#else
#define MAYBE_DoNotInvokeWithNonConsecutiveTaps \
DoNotInvokeWithNonConsecutiveTaps
#endif
IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest,
DoNotInvokeWithNonConsecutiveTaps) { MAYBE_DoNotInvokeWithNonConsecutiveTaps) {
// Use fake time to avoid flakiness. // Use fake time to avoid flakiness.
const base::Time kFakeTime = base::Time::UnixEpoch(); const base::Time kFakeTime = base::Time::UnixEpoch();
SetFakeTimeForMultiTapDetector(kFakeTime); SetFakeTimeForMultiTapDetector(kFakeTime);
...@@ -856,7 +864,14 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, ...@@ -856,7 +864,14 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest,
EXPECT_FALSE(StartupUtils::IsDeviceRegistered()); EXPECT_FALSE(StartupUtils::IsDeviceRegistered());
} }
IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, OfflineDemoModeUnavailable) { // TODO(https://crbug.com/1121422): Flaky on ChromeOS ASAN.
#if defined(ADDRESS_SANITIZER)
#define MAYBE_OfflineDemoModeUnavailable DISABLED_OfflineDemoModeUnavailable
#else
#define MAYBE_OfflineDemoModeUnavailable OfflineDemoModeUnavailable
#endif
IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest,
MAYBE_OfflineDemoModeUnavailable) {
SimulateNetworkDisconnected(); SimulateNetworkDisconnected();
InvokeDemoModeWithAccelerator(); InvokeDemoModeWithAccelerator();
...@@ -936,8 +951,14 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, OfflineSetupFlowSuccess) { ...@@ -936,8 +951,14 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, OfflineSetupFlowSuccess) {
EXPECT_TRUE(StartupUtils::IsDeviceRegistered()); EXPECT_TRUE(StartupUtils::IsDeviceRegistered());
} }
// TODO(https://crbug.com/1121422): Flaky on ChromeOS ASAN.
#if defined(ADDRESS_SANITIZER)
#define MAYBE_OfflineSetupFlowErrorDefault DISABLED_OfflineSetupFlowErrorDefault
#else
#define MAYBE_OfflineSetupFlowErrorDefault OfflineSetupFlowErrorDefault
#endif
IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest,
OfflineSetupFlowErrorDefault) { MAYBE_OfflineSetupFlowErrorDefault) {
// Simulate offline setup failure. // Simulate offline setup failure.
enrollment_helper_.ExpectOfflineEnrollmentError( enrollment_helper_.ExpectOfflineEnrollmentError(
policy::EnrollmentStatus::ForStatus( policy::EnrollmentStatus::ForStatus(
...@@ -1002,8 +1023,16 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, ...@@ -1002,8 +1023,16 @@ IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest,
EXPECT_FALSE(StartupUtils::IsDeviceRegistered()); EXPECT_FALSE(StartupUtils::IsDeviceRegistered());
} }
// TODO(https://crbug.com/1121422): Flaky on ChromeOS ASAN.
#if defined(ADDRESS_SANITIZER)
#define MAYBE_OfflineSetupFlowErrorPowerwashRequired \
DISABLED_OfflineSetupFlowErrorPowerwashRequired
#else
#define MAYBE_OfflineSetupFlowErrorPowerwashRequired \
OfflineSetupFlowErrorPowerwashRequired
#endif
IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest, IN_PROC_BROWSER_TEST_F(DemoSetupArcSupportedTest,
OfflineSetupFlowErrorPowerwashRequired) { MAYBE_OfflineSetupFlowErrorPowerwashRequired) {
// Simulate offline setup failure. // Simulate offline setup failure.
enrollment_helper_.ExpectOfflineEnrollmentError( enrollment_helper_.ExpectOfflineEnrollmentError(
policy::EnrollmentStatus::ForLockError( policy::EnrollmentStatus::ForLockError(
......
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