Fix DCHECK crash in SyncBackendRegistrar test
commit2e9d4f744fc42ea73ee0be23b848afa09186962f
authorkinuko <kinuko@chromium.org>
Fri, 26 Jun 2015 01:28:49 +0000 (25 18:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 26 Jun 2015 01:29:21 +0000 (26 01:29 +0000)
treea7e7df978f96d960b2c4f7f889f190c9c7a6bb26
parent221df22843b58e74a2ccfb639d26c7aa4644bfa9
Fix DCHECK crash in SyncBackendRegistrar test

Make sure the thread's started before we call RunUntilIdle()
in SyncBackendRegistrarTest::TearDown().

Also re-enable the test so that we can easily catch if it's
still broken.

BUG=498238
TEST=SyncBackendRegistrarTest.*

Review URL: https://codereview.chromium.org/1202383008

Cr-Commit-Position: refs/heads/master@{#336315}
chrome/browser/sync/glue/sync_backend_registrar_unittest.cc