Fix action file path

This commit is contained in:
ghanshyam 2016-10-19 18:18:33 +09:00
parent 7009882d59
commit e66891eca2
9 changed files with 13 additions and 13 deletions

View File

@ -35,7 +35,7 @@ LOG = logging.getLogger(__name__)
def discover_stress_tests(path="./", filter_attr=None, call_inherited=False):
"""Discovers all tempest tests and create action out of them
"""Discovers all tests and create action out of them
"""
LOG.info("Start test discovery")
tests = []
@ -59,7 +59,7 @@ def discover_stress_tests(path="./", filter_attr=None, call_inherited=False):
class_setup_per = getattr(test_func, "st_class_setup_per")
action = {'action':
"tempest.stress.actions.unit_test.UnitTest",
"tempest_stress.actions.unit_test.UnitTest",
'kwargs': {"test_method": full_name,
"class_setup_per": class_setup_per
}

View File

@ -1,4 +1,4 @@
[{"action": "tempest.stress.actions.unit_test.UnitTest",
[{"action": "tempest_stress.actions.unit_test.UnitTest",
"threads": 8,
"use_admin": true,
"use_isolated_tenants": true,

View File

@ -1,4 +1,4 @@
[{"action": "tempest.stress.actions.server_create_destroy.ServerCreateDestroyTest",
[{"action": "tempest_stress.actions.server_create_destroy.ServerCreateDestroyTest",
"threads": 8,
"use_admin": true,
"use_isolated_tenants": true,

View File

@ -1,4 +1,4 @@
[{"action": "tempest.stress.actions.ssh_floating.FloatingStress",
[{"action": "tempest_stress.actions.ssh_floating.FloatingStress",
"threads": 8,
"use_admin": true,
"use_isolated_tenants": true,

View File

@ -1,22 +1,22 @@
[{"action": "tempest.stress.actions.server_create_destroy.ServerCreateDestroyTest",
[{"action": "tempest_stress.actions.server_create_destroy.ServerCreateDestroyTest",
"threads": 8,
"use_admin": true,
"use_isolated_tenants": true,
"kwargs": {}
},
{"action": "tempest.stress.actions.volume_create_delete.VolumeCreateDeleteTest",
{"action": "tempest_stress.actions.volume_create_delete.VolumeCreateDeleteTest",
"threads": 4,
"use_admin": true,
"use_isolated_tenants": true,
"kwargs": {}
},
{"action": "tempest.stress.actions.volume_attach_delete.VolumeAttachDeleteTest",
{"action": "tempest_stress.actions.volume_attach_delete.VolumeAttachDeleteTest",
"threads": 2,
"use_admin": true,
"use_isolated_tenants": true,
"kwargs": {}
},
{"action": "tempest.stress.actions.unit_test.UnitTest",
{"action": "tempest_stress.actions.unit_test.UnitTest",
"threads": 4,
"use_admin": true,
"use_isolated_tenants": true,

View File

@ -1,4 +1,4 @@
[{"action": "tempest.stress.actions.volume_attach_delete.VolumeAttachDeleteTest",
[{"action": "tempest_stress.actions.volume_attach_delete.VolumeAttachDeleteTest",
"threads": 4,
"use_admin": true,
"use_isolated_tenants": true,

View File

@ -1,4 +1,4 @@
[{"action": "tempest.stress.actions.volume_attach_verify.VolumeVerifyStress",
[{"action": "tempest_stress.actions.volume_attach_verify.VolumeVerifyStress",
"threads": 1,
"use_admin": true,
"use_isolated_tenants": true,

View File

@ -1,4 +1,4 @@
[{"action": "tempest.stress.actions.volume_create_delete.VolumeCreateDeleteTest",
[{"action": "tempest_stress.actions.volume_create_delete.VolumeCreateDeleteTest",
"threads": 4,
"use_admin": true,
"use_isolated_tenants": true,

View File

@ -50,5 +50,5 @@ class StressFrameworkTest(base.TestCase):
return proc.returncode
def test_help_function(self):
result = self._cmd("python", "-m tempest.cmd.run_stress -h")
result = self._cmd("python", "-m tempest_stress.cmd.run_stress -h")
self.assertEqual(0, result)