anchor.diff:                  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,
  
positive.code:         end),
          {ok, ViewPid} = couch_index_server:get_index(couch_mrview_index,
                  DbName, <<"_design/foo">>),
          TestPid ! {self(), started},
          receive
              {TestPid, go} -> ok
  
negative.code:                 ['_', '_'],
                  ViewPid,
                  ?TIMEOUT
              ),
          receive
              {'DOWN', CRef, process, _, _} -> ok
          after ?TIMEOUT ->
              erlang:error(timeout)
          end
      end),
      receive
          {Pid, started} -> ok;
  