diff options
author | mbeierl <mark.beierl@dell.com> | 2018-05-04 14:04:51 -0400 |
---|---|---|
committer | mbeierl <mark.beierl@dell.com> | 2018-05-10 10:53:55 -0400 |
commit | 1942e374fba718d1d4b6bc5388803c75e71aa197 (patch) | |
tree | 045c15e23ef5def85f765df863f9b342cebc713a /docker/storperf-master/tests | |
parent | 64c8b3b561ccac6159241cd0485a3259887c6bb0 (diff) |
Adds Volume Count and Dynamic Reload
Adds a volume_count parameter that allows the user to
change the number of volumes. Test execution still
uses each volume specified and appends it to the host
ip address in the graphite metrics.
Changes the cache policy of the stack from SNAPS-OO
so that changes made to the stack are refelcted in
StorPerf.
Fixes the documentation path and updates the docs
for the above changes.
Change-Id: I5b9160b469e80d4f7d6906ac270bb3b75411fb5a
JIRA: STORPERF-242
Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'docker/storperf-master/tests')
-rw-r--r-- | docker/storperf-master/tests/workload_tests/workload_subclass_test.py | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/docker/storperf-master/tests/workload_tests/workload_subclass_test.py b/docker/storperf-master/tests/workload_tests/workload_subclass_test.py index e9e47f3..c61fe74 100644 --- a/docker/storperf-master/tests/workload_tests/workload_subclass_test.py +++ b/docker/storperf-master/tests/workload_tests/workload_subclass_test.py @@ -22,33 +22,35 @@ class WorkloadSubclassTest(unittest.TestCase): def test_local_name(self): workload = rr() self.assertEqual(workload.fullname, - "None.rr.queue-depth.1.block-size.64k.None", + "None.rr.queue-depth.1.block-size.64k.None--dev-vdb", workload.fullname) def test_remote_name(self): workload = rw() workload.remote_host = "192.168.0.1" - self.assertEqual(workload.fullname, - "None.rw.queue-depth.1.block-size.64k.192-168-0-1", - workload.fullname) + self.assertEqual( + workload.fullname, + "None.rw.queue-depth.1.block-size.64k.192-168-0-1--dev-vdb", + workload.fullname) def test_blocksize(self): workload = rs() workload.options["bs"] = "4k" self.assertEqual(workload.fullname, - "None.rs.queue-depth.1.block-size.4k.None", + "None.rs.queue-depth.1.block-size.4k.None--dev-vdb", workload.fullname) def test_queue_depth(self): workload = wr() workload.options["iodepth"] = "8" self.assertEqual(workload.fullname, - "None.wr.queue-depth.8.block-size.64k.None", + "None.wr.queue-depth.8.block-size.64k.None--dev-vdb", workload.fullname) def test_id(self): workload = ws() workload.id = "workloadid" - self.assertEqual(workload.fullname, - "workloadid.ws.queue-depth.1.block-size.64k.None", - workload.fullname) + self.assertEqual( + workload.fullname, + "workloadid.ws.queue-depth.1.block-size.64k.None--dev-vdb", + workload.fullname) |