anchor.diff:      timer:sleep(11000),
       _ = [?ASSERT(db_mnesia:close_and_delete(db_mnesia:open(X))) || X <- PidGroupTabs],
       ct:pal("wait for check_leases"),
  -    lease_checker2:wait_for_clean_leases(500, [{ring_size, 3}]),
  +    lease_checker2:wait_for_clean_leases(500, [{ring_size, ring_size()-1}]),
       %% check data integrity
       ct:pal("check data integrity"),
       _ = check_data_integrity(),
  
positive.code:                                                   {leases, true},
                                                    {db_backend, db_mnesia},
                                                    {start_type, recover}]}]),
      lease_checker2:wait_for_clean_leases(500, [{ring_size, 4}]),
      %% ring restored -> checking KV data integrity
      _ = check_data_integrity(),
      true.
  
negative.code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  remove_node(_Config) ->
      ct:pal("wait for check_leases"),
      lease_checker2:wait_for_clean_leases(500, [{ring_size, ring_size()}]),
      %% delete random node from ring
      RandomNode = comm:make_local(lease_checker:get_random_save_node()),
      io:format("show prbr statistics for the ring~n"),
  