Commit 4fefbc9b authored by Mugdha Lakhani's avatar Mugdha Lakhani Committed by Commit Bot

Allow blocking calls from the test.

Example failure:
https://ci.chromium.org/p/chromium/builders/ci/Marshmallow%2064%20bit%20Tester/b8863983830613553808

The test accesses the disk with a blocking call when destroying the
incognito profile. Allow blocking calls from the test to fix failure
on M.

Bug: 1147754
Change-Id: I7f5f00421193a7065626ba2438a77420ff8ffb6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2563665Reviewed-by: default avatarColin Blundell <blundell@chromium.org>
Commit-Queue: Mugdha Lakhani <nator@chromium.org>
Cr-Commit-Position: refs/heads/master@{#831843}
parent 67b61af6
......@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/run_loop.h"
#include "base/threading/thread_restrictions.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "components/background_sync/background_sync_controller_impl.h"
......@@ -161,14 +162,10 @@ class IncognitoBackgroundSyncBrowserTest : public BackgroundSyncBrowserTest {
IncognitoBackgroundSyncBrowserTest() { SetShellStartsInIncognitoMode(); }
};
#if defined(OS_ANDROID)
// https://crbug.com/1147754
#define MAYBE_OffTheRecordProfile DISABLED_OffTheRecordProfile
#else
#define MAYBE_OffTheRecordProfile OffTheRecordProfile
#endif
IN_PROC_BROWSER_TEST_F(IncognitoBackgroundSyncBrowserTest,
MAYBE_OffTheRecordProfile) {
OffTheRecordProfile) {
base::ScopedAllowBlockingForTesting allow_blocking;
// TODO(crbug.com/1087486, 1091211): Make this use
// BackgroundSyncController::ScheduleBrowserWakeup() once we support waking
// the browser up.
......
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