6e26b06 ipatests: force the version for uninstall/reinstall

2 files Authored by frenaud 6 months ago, Committed by rcritten 6 months ago,
    ipatests: force the version for uninstall/reinstall
    
    The backup-restore tests ensure that ipa-restore complains if
    a required package is missing. The test scenario removes the
    ipa-server-dns package, tries a restore (expecting a failure),
    then reinstall the ipa-server-dns pkg and retry the restore
    (expecting a success).
    The issue is that reinstallation sometimes pulls a more recent
    version and ipa-restore fails because of the version mismatch.
    
    Ensure the reinstallation pulls the same version.
    
    Fixes: https://pagure.io/freeipa/issue/9723
    Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>