From e5f6ed69e0031900f97da185b5363ebd3dd60c0c Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Tue, 2 Jun 2015 16:26:58 -0400 Subject: [PATCH] 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 --- cinder/tests/unit/conf_fixture.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.45.2