anchor.diff:      {ok, Db} = couch_db:open_int(DbName, []),
       {ok, _} = couch_db:start_compact(Db),
       ok = couch_db:close(Db),
  -    wait_db_compact_done(DbName, 10).
  +    wait_db_compact_done(DbName, 20).
   
   wait_db_compact_done(_DbName, 0) ->
       erlang:error({assertion_failed,
  
positive.code:         ?assertEqual(ok, get_writer_status(Writer1)),
          ?assertEqual(ok, get_writer_status(Writer2)),
  
          {ok, MonRef} = couch_mrview:compact(MDb1#db.name, <<"_design/foo">>,
                                              [monitor]),
  
          Writer3 = spawn_writer(Db3#db.name),
          ?assert(is_process_alive(Writer3)),
          ?assertEqual({error, all_dbs_active}, get_writer_status(Writer3)),
  
negative.code:         ?assert(is_pid(NewIndexerPid)),
          ?assert(is_process_alive(NewIndexerPid)),
          ?assertNotEqual(IndexerPid, NewIndexerPid),
          UserCnt = case count_users(DbName) of
                        N when N > 2 ->
                            time:sleep(1000),
                            count_users(DbName);
                        N -> N
                    end,
          ?assertEqual(2, UserCnt),
  
          Rows1 = query_view(DbName, "foo", "bar", ok),
          ?assertEqual(0, length(Rows1)),
  