mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix for regression from PR#3962
There was a regression caused in nightly run of test TestBackupReinstallRestoreWithDNS of test_backup_and_restore test suite because of PR#3962. Signed-off-by: Kaleemullah Siddiqui <ksiddiqu@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
e4966f9c3f
commit
939ee59c27
@@ -316,8 +316,6 @@ class BaseBackupAndRestoreWithDNS(IntegrationTest):
|
||||
'-U'])
|
||||
|
||||
tasks.uninstall_packages(self.master, ['*ipa-server-dns'])
|
||||
if reinstall:
|
||||
tasks.install_master(self.master, setup_dns=True)
|
||||
|
||||
dirman_password = self.master.config.dirman_password
|
||||
result = self.master.run_command(
|
||||
@@ -327,6 +325,8 @@ class BaseBackupAndRestoreWithDNS(IntegrationTest):
|
||||
assert 'Please install the package' in result.stderr_text
|
||||
|
||||
tasks.install_packages(self.master, ['*ipa-server-dns'])
|
||||
if reinstall:
|
||||
tasks.install_master(self.master, setup_dns=True)
|
||||
self.master.run_command(['ipa-restore', backup_path],
|
||||
stdin_text=dirman_password + '\nyes')
|
||||
tasks.resolve_record(self.master.ip, self.example_test_zone)
|
||||
|
||||
Reference in New Issue
Block a user