| Index: chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
|
| diff --git a/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc b/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
|
| index 1129bbffb8272ef42e504bda7cbe9e70afeef80f..ae235bcc329bca9a6675b46c3395009a27380f0f 100644
|
| --- a/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
|
| +++ b/chrome/browser/sync/glue/sync_backend_registrar_unittest.cc
|
| @@ -336,6 +336,9 @@ TEST_F(SyncBackendRegistrarShutdownTest, BlockingShutdown) {
|
| base::Bind(&SyncBackendRegistrar::Shutdown,
|
| base::Unretained(registrar.release())));
|
|
|
| + // Make sure the thread starts running.
|
| + sync_thread->WaitUntilThreadStartedForTesting();
|
| +
|
| // The test verifies that the sync thread doesn't block because
|
| // of the blocked DB thread and can finish the shutdown.
|
| sync_thread->message_loop()->RunUntilIdle();
|
|
|