From e12a4681858714c3a79dcfeea5d31241122a097a Mon Sep 17 00:00:00 2001 From: kasturiNarra Date: Fri, 13 Dec 2019 18:13:03 +0530 Subject: Fix cleanup code to delete volume instead of blockvolume Code creates file volume and tries to delete blockvolume instead of file Change-Id: I4c73f388dc10a153f254c479bc8bf127df644916 --- tests/functional/heketi/test_block_volumes_heketi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit