| Index: components/sync/engine_impl/syncer_unittest.cc
|
| diff --git a/components/sync/engine_impl/syncer_unittest.cc b/components/sync/engine_impl/syncer_unittest.cc
|
| index ca131a0e7db6102c1fbd2b5da1b383a33ad98b38..d404a3899a6f2d81afd0194c3c4b57e5b8c35216 100644
|
| --- a/components/sync/engine_impl/syncer_unittest.cc
|
| +++ b/components/sync/engine_impl/syncer_unittest.cc
|
| @@ -5022,12 +5022,10 @@ TEST_F(SyncerTest, ConfigureFailsDontApplyUpdates) {
|
| mock_server_->ClearUpdatesQueue();
|
| }
|
|
|
| -// Tests that, after shutdown initiated, if set of types to download includes
|
| -// unregistered type, DCHECK doesn't get triggered.
|
| -TEST_F(SyncerTest, ConfigureUnregisteredTypesDuringShutdown) {
|
| - // Signal that shutdown is initiated.
|
| - cancelation_signal_.Signal();
|
| -
|
| +// Tests that if type is not registered with ModelTypeRegistry (e.g. because
|
| +// type's LoadModels failed), Syncer::ConfigureSyncShare runs without triggering
|
| +// DCHECK.
|
| +TEST_F(SyncerTest, ConfigureFailedUnregisteredType) {
|
| // Simulate type being unregistered before configuration by including type
|
| // that isn't registered with ModelTypeRegistry.
|
| SyncShareConfigureTypes(ModelTypeSet(APPS));
|
|
|