anchor.diff:  start_server(StartNoAuth) ->
       os:cmd(os:find_executable("epmd")++" -daemon"),
       ok = maybe_start_distribution(vmq_server),
  -    Datadir = "data/" ++ atom_to_list(node()),
  +    Datadir = "/tmp/vernemq-test/data/" ++ atom_to_list(node()),
  +    os:cmd("rm -rf " ++ Datadir),
       application:load(plumtree),
       application:set_env(plumtree, plumtree_data_dir, Datadir),
       application:set_env(plumtree, metadata_root, Datadir ++ "/meta/"),
  
positive.code:                                             {size,10485760},
                                              {date,"$D0"},
                                              {count,5}]}]),
      reset_all(),
      start_server_(StartNoAuth),
      disable_all_plugins().
  
  
negative.code: 
  teardown() ->
      disable_all_plugins(),
      vmq_server:stop(),
      Datadir = "/tmp/vernemq-test/data/" ++ atom_to_list(node()),
      _ = [eleveldb:destroy(Datadir ++ "/meta/" ++ integer_to_list(I), [])
           || I <- lists:seq(0, 11)],
      _ = [eleveldb:destroy(Datadir ++ "/msgstore/" ++ integer_to_list(I), [])
           || I <- lists:seq(0, 11)],
      eleveldb:destroy(Datadir ++ "/trees", []),
      ok.
  
  disable_all_plugins() ->
      _ = [vmq_plugin_mgr:disable_plugin(P) || P <- vmq_plugin:info(all)],
  