anchor.diff:              ok
       end,
   
  +    % Restart node
       UpdatedConfig = RestartFun(WorkerP2),
       UpdatedSessIdP2 = test_config:get_user_session_id_on_provider(UpdatedConfig, User1, P2),
   
  +    % Verify transfers
  +    TransferIdsToVerify = case RestartType of
  +        kill ->
  +            % After node killing, it is possible that status in document is not updated
  +            % if its link is already in past tree
  +            TransferIds -- get_past_transfer_links(WorkerP2, SpaceId);
  +        _ ->
  +            TransferIds
  +    end,
       lists:foreach(fun(TransferId) ->
           multi_provider_file_ops_test_base:await_replication_end(WorkerP2, TransferId, Attempts, get_effective)
  -    end, TransferIds),
  -
  -    FilesToCheckDistribution = case Restart of
  +    end, TransferIdsToVerify),
  +
  +    % Verify if data has been replicated
  +    FilesToCheckDistribution = case RestartType of
           kill -> []; % documents with transferred blocks could be lost
  -        stop -> Files2; % on demand transfers could be lost
  +        gentle_stop -> Files2; % on demand transfers could be lost
           link -> AllFiles
       end,
       lists:foreach(fun(File) ->
  
positive.code:     % disable op_worker healthcheck in onepanel, so nodes are not started up automatically
      onenv_test_utils:disable_panel_healthcheck(Config),
  
      Files1 = file_ops_test_utils:create_files(WorkerP1, SessIdP1, SpaceGuid, FilesCount),
      Files2 = file_ops_test_utils:create_files(WorkerP1, SessIdP1, SpaceGuid, FilesCount),
      AllFiles = Files1 ++ Files2,
  
      lists:foreach(fun(File) ->
          ?assertMatch({ok, #file_attr{type = ?REGULAR_FILE_TYPE, size = FileSize}},
              lfm_proxy:stat(WorkerP2, SessIdP2, {guid, File}), Attempts)
      end, AllFiles),
  
      lists_utils:pforeach(fun(File) ->
          FileCtx = file_ctx:new_by_guid(File),
          lists:foreach(fun(Offset) ->
  
negative.code:         UpdatedConfig
      end,
  
      restart_test_base(Config, RestartFun, gentle_stop).
  
  node_kill_test(Config) ->
      RestartFun = fun(Worker) ->
          failure_test_utils:kill_nodes(Config, Worker),
          ct:pal("Node killed"),
  