anchor.diff:          end),
           {ok, ViewPid} = couch_index_server:get_index(couch_mrview_index,
                   DbName, <<"_design/foo">>),
  +        {ok, CompactorPid} = couch_index:get_compactor_pid(ViewPid),
           TestPid ! {self(), started},
           receive
               {TestPid, go} -> ok
  
positive.code:                 ['_', '_'],
                  ViewPid,
                  ?TIMEOUT
              )
      end),
      receive
          {Pid, started} -> ok;
  
negative.code:                 DbPid,
                  ?TIMEOUT
              ),
          meck:reset(couch_mrview_compactor),
          meck:wait(
                  1,
                  couch_mrview_compactor,
                  compact,
                  ['_', '_', '_'],
                  ?TIMEOUT
              ),
          {ok, CPid} = couch_index_compactor:get_compacting_pid(CompactorPid),
          CRef = erlang:monitor(process, CPid),
          meck:wait(
                  1,
                  couch_mrview_compactor,
  