]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Disable profiler for unit tests
authorEric Harney <eharney@redhat.com>
Thu, 18 Jun 2015 17:04:43 +0000 (13:04 -0400)
committerEric Harney <eharney@redhat.com>
Thu, 18 Jun 2015 17:13:09 +0000 (13:13 -0400)
commit6cf63195fa5f0490746a89c65a42a379ced68d47
tree36920f571cf73734a9c31de4e844232ccfaeb61e
parent735925d83182a3020224690b7e11a35c7e2250ce
Disable profiler for unit tests

osprofiler should not run for unit tests.  This makes stack
traces harder to debug, and generally complicates things, with
no benefit.

The backup tests were already doing this, so port that
method to the base Cinder test class.

Closes-Bug: #1394785
Closes-Bug: #1447400

Change-Id: Ifcaaf365aaab24c6fa2a6eca58f546860124f1fc
cinder/test.py
cinder/tests/unit/test_backup.py