2064c72 Fix uninstallation test, use different method to stop dirsrv

1 file Authored by rcritten 5 years ago, Committed by frenaud 5 years ago,
    Fix uninstallation test, use different method to stop dirsrv
    
    The API may not be initialized so using ds.is_running() may fail.
    Call systemctl directly to ensure the dirsrv instance is stopped.
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
    Reviewed-By: Michal Reznik <mreznik@redhat.com>