2f80855 test_simple_replication: Wait for replication to finish before checking

Authored and Committed by pviktori 10 years ago
    test_simple_replication: Wait for replication to finish before checking
    
    Add ldap_connect() method to Host to allow executing querying LDAP from tests.
    
    Use information in the mapping tree to poll until all replication is finished
    (or failing) before checking that entries replicated successfully.