Merge "Add a functional test option to skip notification tests"

This commit is contained in:
Jenkins 2015-08-03 12:46:07 +00:00 committed by Gerrit Code Review
commit d97dc1fda9
3 changed files with 8 additions and 0 deletions

View File

@ -106,6 +106,9 @@ IntegrationTestGroup = [
cfg.BoolOpt('skip_stack_abandon_tests',
default=False,
help="Skip Stack Abandon Integration tests"),
cfg.BoolOpt('skip_notification_tests',
default=False,
help="Skip Notification Integration tests"),
cfg.IntOpt('connectivity_timeout',
default=120,
help="Timeout in seconds to wait for connectivity to "

View File

@ -124,6 +124,8 @@ outputs:
def setUp(self):
super(NotificationTest, self).setUp()
if self.conf.skip_notification_tests:
self.skipTest('Testing Notifications disabled in conf, skipping')
self.client = self.orchestration_client
self.exchange = kombu.Exchange('heat', 'topic', durable=False)

View File

@ -90,6 +90,9 @@
# Skip Stack Abandon Integration tests (boolean value)
#skip_stack_abandon_tests = false
# Skip Notification Integration tests (boolean value)
#skip_notification_tests = false
# Timeout in seconds to wait for connectivity to server. (integer value)
#connectivity_timeout = 120