2a299c7 ipatests: fix TestUpgrade::test_double_encoded_cacert

Authored and Committed by frenaud 5 years ago
    ipatests: fix TestUpgrade::test_double_encoded_cacert
    
    The test is using a stale ldap connection to the master
    (obtained before calling upgrade, and the upgrade stops
    and starts 389-ds, breaking the connection).
    
    The fix re-connects before using the ldap handle.
    
    Related to https://pagure.io/freeipa/issue/7775