From: Eric Harney Date: Tue, 2 Jun 2015 20:26:58 +0000 (-0400) Subject: Disable backup progress notifications for unit tests X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=e5f6ed69e0031900f97da185b5363ebd3dd60c0c;p=openstack-build%2Fcinder-build.git Disable backup progress notifications for unit tests 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 --- diff --git a/cinder/tests/unit/conf_fixture.py b/cinder/tests/unit/conf_fixture.py index ae5ee2f19..2898eb1cc 100644 --- a/cinder/tests/unit/conf_fixture.py +++ b/cinder/tests/unit/conf_fixture.py @@ -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)