anchor.diff:  
   join_leave_test(JoinTargetSize, LeaveTargetSize) ->
       lease_helper:wait_for_ring_size(1),
  -    lease_helper:wait_for_correct_ring(),
  +    log:log("wait for ring to stabilize"),
  +    util:wait_for(fun admin:check_leases/0, 10000),
       join_until(JoinTargetSize),
  +    log:log("wait for ring to stabilize after join until"),
  +    util:wait_for(fun admin:check_leases/0, 10000),
       lease_helper:print_all_active_leases(),
       lease_helper:print_all_passive_leases(),
       leave_until(JoinTargetSize, LeaveTargetSize),
  
positive.code:                                test_quadruple_join
                                 ]},
       {join_and_leave_tests, [sequence], [
                                           test_quadruple_join_single_leave,
                                           test_quadruple_join_double_leave,
                                           test_quadruple_join_triple_leave,
                                           test_quadruple_join_quadruple_leave
                                           ]}
      ].
  
  
negative.code:     api_vm:add_nodes(1),
      log:log("wait for ring size ~w", [TargetSize]),
      lease_helper:wait_for_ring_size(TargetSize),
      log:log("wait for ring to stabilize in sync. join"),
      util:wait_for(fun admin:check_leases/0, 10000).
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %
  