Fixed two failures of integration tests under RHEL: 1. PyYAML, needed for integration tests is not installed as a dependency 2. ipa-replica-prepare requests a reverse zone info under RHEL.
-- Oleg Fayans Quality Engineer FreeIPA team RedHat.
From 335ccc8a63b457e479b7f4e21fe4131e788c455d Mon Sep 17 00:00:00 2001 From: Oleg Fayans <[email protected]> Date: Thu, 20 Aug 2015 11:43:56 +0200 Subject: [PATCH] Added PyYAML as a dependency for ipa-tests, fixed a replica preparation in RHEL --- freeipa.spec.in | 1 + ipatests/test_integration/tasks.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index 50e084c782ece59152ea3cca1ee0b4591ab0a4b7..778330338c43186c1e450a01193cba0ab8c02b5c 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -346,6 +346,7 @@ Requires: python-coverage Requires: python-polib Requires: python-pytest-multihost >= 0.5 Requires: python-pytest-sourceorder +Requires: PyYAML Conflicts: %{alt_name}-tests Obsoletes: %{alt_name}-tests < %{version} diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index 2b83f274619fcb18bcb87118d7df35a85ce52c1a..3e66b190d63d7718c95c4c597c9b6c39131627fa 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -224,7 +224,7 @@ def install_replica(master, replica, setup_ca=True, setup_dns=False): master.run_command(['ipa-replica-prepare', '-p', replica.config.dirman_password, '--ip-address', replica.ip, - replica.hostname]) + replica.hostname, '--no-reverse']) replica_bundle = master.get_file_contents( paths.REPLICA_INFO_GPG_TEMPLATE % replica.hostname) replica_filename = os.path.join(replica.config.test_dir, -- 2.4.3
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
