0cc732e tests: fix failure in test_topology_TestTopologyOptions:test_add_remove_segment

Authored and Committed by frenaud 5 years ago
    tests: fix failure in test_topology_TestTopologyOptions:test_add_remove_segment
    
    The test is performing topology changes on the master, then
    waits for replication to replicate the changes and checks
    the expected outcome on replica1.
    
    The issue is that wait_for_replication was called on replica1,
    but should be called on the master. This method is reliable only
    if it is executed on the host where the modification was done.
    
    Fixes https://pagure.io/freeipa/issue/7865
    
    Reviewed-By: Francois Cami <fcami@redhat.com>