URL: https://github.com/freeipa/freeipa/pull/1120
Author: celestian
 Title: #1120: tests: Mark failing tests as failing
Action: opened

PR body:
"""
Some tests from installation suite assume that it is possible
to --setup-kra, respectively --setu-ca if there is no kra,
respectively ca on IPA master.

This patch marks those tests as failing.

Signed-off-by: Petr Čech <pc...@redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1120/head:pr1120
git checkout pr1120
From 2f8bdc159c70b55f66cbb5c255f766f71df650a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C4=8Cech?= <pc...@redhat.com>
Date: Wed, 27 Sep 2017 10:13:00 +0200
Subject: [PATCH] tests: Mark failing tests as failing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Some tests from installation suite assume that it is possible
to --setup-kra, respectively --setu-ca if there is no kra,
respectively ca on IPA master.

This patch marks those tests as failing.

Signed-off-by: Petr Čech <pc...@redhat.com>
---
 ipatests/test_integration/test_installation.py | 7 +++++++
 rerun                                          | 0
 2 files changed, 7 insertions(+)
 create mode 100644 rerun

diff --git a/ipatests/test_integration/test_installation.py b/ipatests/test_integration/test_installation.py
index b13c9996b9..0dfd2de349 100644
--- a/ipatests/test_integration/test_installation.py
+++ b/ipatests/test_integration/test_installation.py
@@ -111,6 +111,7 @@ def test_replica1_all_components_adtrust(self):
 # Master X Replicas installation tests
 ##
 
+@pytest.mark.xfail(reason="FreeIPA ticket 7008")
 class TestInstallWithCA1(InstallTestBase1):
 
     @classmethod
@@ -133,6 +134,7 @@ def test_replica2_ipa_dns_install(self):
         super(TestInstallWithCA1, self).test_replica2_ipa_dns_install()
 
 
+@pytest.mark.xfail(reason="FreeIPA ticket 7008")
 class TestInstallWithCA2(InstallTestBase2):
 
     @classmethod
@@ -155,6 +157,7 @@ def test_replica2_ipa_kra_install(self):
         super(TestInstallWithCA2, self).test_replica2_ipa_kra_install()
 
 
+@pytest.mark.xfail(reason="FreeIPA ticket 7008")
 class TestInstallWithCA_KRA1(InstallTestBase1):
 
     @classmethod
@@ -165,6 +168,7 @@ def test_replica0_ipa_kra_install(self):
         tasks.install_kra(self.replicas[0], first_instance=False)
 
 
+@pytest.mark.xfail(reason="FreeIPA ticket 7008")
 class TestInstallWithCA_KRA2(InstallTestBase2):
 
     @classmethod
@@ -172,6 +176,7 @@ def install(cls, mh):
         tasks.install_master(cls.master, setup_dns=False, setup_kra=True)
 
 
+@pytest.mark.xfail(reason="FreeIPA ticket 7008")
 class TestInstallWithCA_DNS1(InstallTestBase1):
 
     @classmethod
@@ -194,6 +199,7 @@ def test_replica2_ipa_dns_install(self):
         super(TestInstallWithCA_DNS1, self).test_replica2_ipa_dns_install()
 
 
+@pytest.mark.xfail(reason="FreeIPA ticket 7008")
 class TestInstallWithCA_DNS2(InstallTestBase2):
 
     @classmethod
@@ -229,6 +235,7 @@ def test_replica0_ipa_kra_install(self):
         tasks.install_kra(self.replicas[0], first_instance=False)
 
 
+@pytest.mark.xfail(reason="FreeIPA ticket 7008")
 class TestInstallWithCA_KRA_DNS2(InstallTestBase2):
 
     @classmethod
diff --git a/rerun b/rerun
new file mode 100644
index 0000000000..e69de29bb2
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to