summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Fayans <ofayans@redhat.com>2015-10-26 08:55:54 +0100
committerMartin Basti <mbasti@redhat.com>2015-11-03 16:11:57 +0100
commitf9bbfade29657a6274afcdbc7dba5d5417ad4b69 (patch)
treefe2c57a20636a951c3bf889b590021d623ff4d58
parentf8778f6e4f57f17f8981a4cd956ad2f58eff3470 (diff)
The test was made to be skipped if domainlevel is 0
Reviewed-By: Martin Basti <mbasti@redhat.com>
-rw-r--r--ipatests/test_integration/test_topology.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipatests/test_integration/test_topology.py b/ipatests/test_integration/test_topology.py
index 0d304fcb3..2bd134a84 100644
--- a/ipatests/test_integration/test_topology.py
+++ b/ipatests/test_integration/test_topology.py
@@ -4,11 +4,16 @@
import re
import time
+import pytest
from ipatests.test_integration.base import IntegrationTest
from ipatests.test_integration import tasks
+from env_config import get_global_config
+config = get_global_config()
+reasoning = "Topology plugin disabled due to domain level 0"
+@pytest.mark.skipif(config.domain_level == 0, reason=reasoning)
class TestTopologyOptions(IntegrationTest):
num_replicas = 2
topology = 'star'