anchor.diff:                  ?assertNotEqual(undefined, B1b)
               end),
   
  -    % Wait for pings so the last nodes discover the others and interconnect.
  -    TimeForPing2 = max(0, 35000 - (erlang:system_time(millisecond) - T2)),
  +    % Ensure a ping between start node4 and checking status.
  +    TimeForPing2 = max(0, ping_interval() - (erlang:system_time(millisecond) - T2)),
       timer:sleep(TimeForPing2),
   
       % Check node4 do not have an outbound connection to node1 anymore.
  
positive.code:     wait_for_internal_api([node1, node2, node3, node4, node5], StartupTimeout),
  
      % Wait for two gossip ping messages.
      timer:sleep(35000 * 2),
  
      lists:foreach(fun(N) ->
          {ok, 200, Peers} = aehttp_client:request('GetPeers', #{}, [
  
negative.code:                 ?assertNotEqual(undefined, B1a)
              end),
  
      % Ensure a ping between start node3 and starting next.
      TimeForPing1 = max(0, ping_interval() - (erlang:system_time(millisecond) - T1)),
      timer:sleep(TimeForPing1),
  
      % Start 4th node that should get disconnected from node1 and connect to another one.
  