Merge "Skip nameserver propagation tests when no NS's in conf"

This commit is contained in:
Jenkins 2016-05-26 19:10:29 +00:00 committed by Gerrit Code Review
commit ec6995f82e
1 changed files with 4 additions and 0 deletions

View File

@ -13,11 +13,13 @@
# under the License.
from oslo_log import log as logging
from tempest import test
from tempest import config
from tempest.lib import exceptions as lib_exc
from designate_tempest_plugin.tests import base
from designate_tempest_plugin.common import waiters
LOG = logging.getLogger(__name__)
@ -84,6 +86,7 @@ class ZonesTest(base.BaseDnsV2Test):
@test.attr(type='slow')
@test.idempotent_id('ad8d1f5b-da66-46a0-bbee-14dc84a5d791')
@config.skip_unless_config('dns', 'nameservers')
def test_zone_create_propagates_to_nameservers(self):
LOG.info('Create a zone')
_, zone = self.client.create_zone()
@ -94,6 +97,7 @@ class ZonesTest(base.BaseDnsV2Test):
@test.attr(type='slow')
@test.idempotent_id('d13d3095-c78f-4aae-8fe3-a74ccc335c84')
@config.skip_unless_config('dns', 'nameservers')
def test_zone_delete_propagates_to_nameservers(self):
LOG.info('Create a zone')
_, zone = self.client.create_zone()