]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Skip LIO target unit tests until mocked
authorMike Perez <thingee@gmail.com>
Wed, 14 Jan 2015 23:47:26 +0000 (15:47 -0800)
committerMike Perez <thingee@gmail.com>
Wed, 14 Jan 2015 23:50:53 +0000 (23:50 +0000)
Unit tests are calling out to cinder-rtstool, which breaks in most
environments. We need these calls mocked out properly before being
reenabled.

Change-Id: Ic25828361d9c30c4e1aa37b630d8ad272a78977b
Related-Bug: #1411029

cinder/tests/targets/test_lio_driver.py

index 3210572ec3aacced5cd3cc5f606a893fdceb413d..e3fd9a4fa847abcbd5e895d746318a81e4895d20 100644 (file)
@@ -15,11 +15,13 @@ from oslo_concurrency import processutils as putils
 
 from cinder import context
 from cinder import exception
+from cinder import test
 from cinder.tests.targets import test_tgt_driver as test_tgt
 from cinder import utils
 from cinder.volume.targets import lio
 
 
+@test.testtools.skip("SKIP until bug #1411029 is fixed")
 class TestLioAdmDriver(test_tgt.TestTgtAdmDriver):
 
     def setUp(self):