summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi
diff options
context:
space:
mode:
authorkasturiNarra <knarra@redhat.com>2019-12-13 18:13:03 +0530
committervponomar <vponomar@redhat.com>2019-12-16 09:45:55 +0000
commite12a4681858714c3a79dcfeea5d31241122a097a (patch)
tree5151ee84d339eb10b4c1a924bc7c1d34025f99e4 /tests/functional/heketi
parent5e4f0895e500c667b1f3fdc07006584541141774 (diff)
Fix cleanup code to delete volume instead of blockvolume
Code creates file volume and tries to delete blockvolume instead of file Change-Id: I4c73f388dc10a153f254c479bc8bf127df644916
Diffstat (limited to 'tests/functional/heketi')
-rw-r--r--tests/functional/heketi/test_block_volumes_heketi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/heketi/test_block_volumes_heketi.py b/tests/functional/heketi/test_block_volumes_heketi.py
index 4cdb9145..19b97900 100644
--- a/tests/functional/heketi/test_block_volumes_heketi.py
+++ b/tests/functional/heketi/test_block_volumes_heketi.py
@@ -376,7 +376,7 @@ class TestBlockVolumeOps(BaseClass):
bv = heketi_volume_create(
h_node, h_server, free_size, json=True)
self.addCleanup(
- heketi_blockvolume_delete, h_node, h_server, bv["id"])
+ heketi_volume_delete, h_node, h_server, bv["id"])
# Create BV
bv = heketi_blockvolume_create(h_node, h_server, 2, json=True)