| Index: sync/test/engine/syncer_command_test.cc
|
| diff --git a/sync/test/engine/syncer_command_test.cc b/sync/test/engine/syncer_command_test.cc
|
| index 2439c1ba2c305744d42c1bf3a58bbab89e77e8a6..147431f8e85854b6cd65a1680694fd1162b70874 100644
|
| --- a/sync/test/engine/syncer_command_test.cc
|
| +++ b/sync/test/engine/syncer_command_test.cc
|
| @@ -18,9 +18,11 @@ SyncerCommandTestBase::~SyncerCommandTestBase() {
|
|
|
| void SyncerCommandTestBase::SetUp() {
|
| ResetContext();
|
| - // The session always expects there to be a passive worker.
|
| + // The session always expects there to be passive and control workers.
|
| workers()->push_back(
|
| make_scoped_refptr(new FakeModelWorker(GROUP_PASSIVE)));
|
| + workers()->push_back(
|
| + make_scoped_refptr(new FakeModelWorker(GROUP_CONTROL)));
|
| }
|
|
|
| void SyncerCommandTestBase::TearDown() {
|
| @@ -56,6 +58,8 @@ void MockDirectorySyncerCommandTest::SetUp() {
|
| // The session always expects there to be a passive worker.
|
| workers()->push_back(
|
| make_scoped_refptr(new FakeModelWorker(GROUP_PASSIVE)));
|
| + workers()->push_back(
|
| + make_scoped_refptr(new FakeModelWorker(GROUP_CONTROL)));
|
| ResetContext();
|
| }
|
|
|
|
|