Merge "Add data driven RecordSet tests"
diff --git a/designate_tempest_plugin/config.py b/designate_tempest_plugin/config.py
index 1a4f2bd..5b99e81 100644
--- a/designate_tempest_plugin/config.py
+++ b/designate_tempest_plugin/config.py
@@ -38,7 +38,7 @@
default=1,
help="Time in seconds between build status checks."),
cfg.IntOpt('build_timeout',
- default=60,
+ default=120,
help="Timeout in seconds to wait for an resource to build."),
cfg.IntOpt('min_ttl',
default=1,
diff --git a/designate_tempest_plugin/tests/api/v2/test_zones.py b/designate_tempest_plugin/tests/api/v2/test_zones.py
index 62f188e..015010c 100644
--- a/designate_tempest_plugin/tests/api/v2/test_zones.py
+++ b/designate_tempest_plugin/tests/api/v2/test_zones.py
@@ -85,7 +85,7 @@
# TODO(kiall): We really want to assert that out newly created zone is
# present in the response.
- self.assertTrue(len(body['zones']) > 0)
+ self.assertGreater(len(body['zones']), 0)
@test.attr(type='smoke')
@test.idempotent_id('123f51cb-19d5-48a9-aacc-476742c02141')
diff --git a/designate_tempest_plugin/tests/api/v2/test_zones_exports.py b/designate_tempest_plugin/tests/api/v2/test_zones_exports.py
index c9350e6..05cb9e8 100644
--- a/designate_tempest_plugin/tests/api/v2/test_zones_exports.py
+++ b/designate_tempest_plugin/tests/api/v2/test_zones_exports.py
@@ -94,4 +94,4 @@
LOG.info('List zones exports')
_, body = self.client.list_zones_exports()
- self.assertTrue(len(body['exports']) > 0)
+ self.assertGreater(len(body['exports']), 0)
diff --git a/designate_tempest_plugin/tests/api/v2/test_zones_imports.py b/designate_tempest_plugin/tests/api/v2/test_zones_imports.py
index ff2d5ef..574d8b5 100644
--- a/designate_tempest_plugin/tests/api/v2/test_zones_imports.py
+++ b/designate_tempest_plugin/tests/api/v2/test_zones_imports.py
@@ -77,4 +77,4 @@
LOG.info('List zones imports')
_, body = self.client.list_zone_imports()
- self.assertTrue(len(body['imports']) > 0)
+ self.assertGreater(len(body['imports']), 0)