Xfailed the tests due to a known bug with replica preparation

https://fedorahosted.org/freeipa/ticket/6274

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Oleg Fayans
2016-09-14 09:53:35 +02:00
committed by Martin Basti
parent ac78d191de
commit 1e484d010b
@@ -3,6 +3,7 @@
#
import time
import pytest
from ipatests.test_integration.base import IntegrationTest
from ipatests.test_integration import tasks
from ipatests.test_integration.tasks import assert_error
@@ -54,6 +55,7 @@ class TestReplicaPromotionLevel0(ReplicaPromotionBase):
'You must provide a file generated by ipa-replica-prepare'
' to create a replica when the domain is at level 0', 1)
@pytest.mark.xfail(reason="Ticket N 6274")
@replicas_cleanup
def test_backup_restore(self):
"""
@@ -76,6 +78,7 @@ class TestReplicaPromotionLevel0(ReplicaPromotionBase):
assert(found2 > 0), result2.stdout_text
@pytest.mark.xfail(reason="Ticket N 6274")
class TestKRAInstall(IntegrationTest):
"""
TestCase: http://www.freeipa.org/page/V4/Replica_Promotion/Test_plan
@@ -114,6 +117,7 @@ class TestKRAInstall(IntegrationTest):
tasks.install_kra(replica2)
@pytest.mark.xfail(reason="Ticket N 6274")
class TestCAInstall(IntegrationTest):
topology = 'star'
domain_level = DOMAIN_LEVEL_0
@@ -192,6 +196,7 @@ class TestReplicaPromotionLevel1(ReplicaPromotionBase):
'-U'])
@pytest.mark.xfail(reason="Ticket N 6274")
class TestReplicaManageCommands(IntegrationTest):
topology = "star"
num_replicas = 2
@@ -362,6 +367,7 @@ class TestProhibitReplicaUninstallation(IntegrationTest):
'-U', '--ignore-topology-disconnect'])
@pytest.mark.xfail(reason="Ticket N 6274")
class TestOldReplicaWorksAfterDomainUpgrade(IntegrationTest):
topology = 'star'
num_replicas = 1