anchor.diff:      test_node_starter:clean_environment(Config).
   
   init_per_testcase(_, Config) ->
  -    ct:timetrap({minutes, 30}),
  +    ct:timetrap({minutes, 60}),
       application:start(ssl2),
       hackney:start(),
       initializer:disable_quota_limit(Config),
  
positive.code:     VerifyDel = fun({F,  FileUUID, Locations}) ->
          Verify(fun(W) ->
              ct:print("Del ~p", [{W, F,  FileUUID, Locations}]),
              ?match({error, ?ENOENT}, lfm_proxy:stat(W, SessId(W), {path, F}), Attempts),
              ?match({error, {not_found, _}}, rpc:call(W, file_meta, get, [FileUUID]), Attempts),
              lists:foreach(fun(ProvID) ->
                  ?match({error, {not_found, _}},
                      rpc:call(W, file_meta, get, [links_utils:links_doc_key(FileUUID, ProvID)]), Attempts)
              end, ProvIDs),
              lists:foreach(fun(Location) ->
                  ?match({error, {not_found, _}},
                      rpc:call(W, file_meta, get, [Location]), Attempts)
              end, proplists:get_value(W, Locations, []))
          end)
      end,
  
  
negative.code:         NewAcc
      end, <<>>, Workers),
  
      Master = self(),
      lists:foreach(fun(W) ->
          spawn_link(fun() ->
              Level2TmpDir = <<Dir/binary, "/", (generator:gen_name())/binary>>,
              MkAns = lfm_proxy:mkdir(W, SessId(W), Level2TmpDir, 8#755),
              Master ! {mkdir_ans, Level2TmpDir, MkAns}
          end)
      end, Workers),
  
      Level2TmpDirs = lists:foldl(fun(_, Acc) ->
          MkAnsCheck =
              receive
                  {mkdir_ans, ReceivedLevel2TmpDir, MkAns} ->
                      {ReceivedLevel2TmpDir, MkAns}
              after timer:seconds(2*Attempts+2) ->
                  {error, timeout}
              end,
          ?assertMatch({_, {ok, _}}, MkAnsCheck),
          {Level2TmpDir, _} = MkAnsCheck,
          VerifyStats(Level2TmpDir, true),
          [Level2TmpDir | Acc]
      end, [], Workers),
  
      lists:foreach(fun(Level2TmpDir) ->
          lists:foreach(fun(W2) ->
              spawn_link(fun() ->
                  Level3TmpDir = <<Level2TmpDir/binary, "/", (generator:gen_name())/binary>>,
                  MkAns = lfm_proxy:mkdir(W2, SessId(W2), Level3TmpDir, 8#755),
                  Master ! {mkdir_ans, Level3TmpDir, MkAns}
              end)
          end, Workers)
      end, Level2TmpDirs),
  
      lists:foreach(fun(_) ->
          lists:foreach(fun(_) ->
              MkAnsCheck =
                  receive
                      {mkdir_ans, ReceivedLevel2TmpDirLevel3TmpDir, MkAns} ->
                          {ReceivedLevel2TmpDirLevel3TmpDir, MkAns}
                  after timer:seconds(2*Attempts+2) ->
                      {error, timeout}
                  end,
              ?assertMatch({_, {ok, _}}, MkAnsCheck),
              {Level3TmpDir, _} = MkAnsCheck,
              VerifyStats(Level3TmpDir, true)
          end, Workers)
      end, Level2TmpDirs),
  
      ok.
  
  