]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Disable backup progress notifications for unit tests
authorEric Harney <eharney@redhat.com>
Tue, 2 Jun 2015 20:26:58 +0000 (16:26 -0400)
committerEric Harney <eharney@redhat.com>
Tue, 2 Jun 2015 20:38:35 +0000 (16:38 -0400)
We have code somewhere which is firing backup createprogress
notifications into the notifier, which causes random unit
test failures.

Until we determine exactly why this happening, attempt to
avoid this problem in the gate by disabling these notifications.

Related-Bug: #1412513

Change-Id: I50b7946562e757ee26cb68b17b4a5ffcd5f3fabd

cinder/tests/unit/conf_fixture.py

index ae5ee2f195dd65b656fd26d46315df0da07ac041..2898eb1cc3e56c67b63e2f296ce7122f22a9c05d 100644 (file)
@@ -52,3 +52,5 @@ def set_defaults(conf):
         os.path.join(os.path.dirname(__file__), '..', '..', '..')))
     conf.set_default('policy_dirs', [])
     conf.set_default('auth_strategy', 'noauth')
+    conf.set_default('backup_enable_progress_timer', False)
+    conf.set_default('backup_swift_enable_progress_timer', False)