anchor.diff:              wait_for_session_count(Config, Count, TryNo + 1)
       end;
   wait_for_session_count(Config, Count, _) ->
  -    ct:fail({wait_for_session_count, Count, call_get_remote_sessions(Config)}).
  -
  -get_remote_sessions() ->
  -    rpc(ets, tab2list, [session]).
  +    ct:fail({wait_for_session_count, Count, get_remote_sessions(Config)}).
   
   %%--------------------------------------------------------------------
   %% Helpers
  
positive.code: wait_for_session_count(Config, Count) ->
      wait_for_session_count(Config, Count, 0).
  
  wait_for_session_count(Config, Count, TryNo) when TryNo < 20 ->
      case length(call_get_remote_sessions(Config)) of
          Count ->
              ok;
          _ ->
  
negative.code:          with_global_option/3,
           with_local_option/3,
           get_c2s_status/1,
           get_remote_sessions/1,
           default_get_remote_sessions/0,
           wait_for_session_count/2]).
  
  -include("escalus.hrl").
  