diff --git a/test/integration/component/test_stopped_vm.py b/test/integration/component/test_stopped_vm.py index 650de0ee999..2d2ea05e271 100644 --- a/test/integration/component/test_stopped_vm.py +++ b/test/integration/component/test_stopped_vm.py @@ -1885,7 +1885,7 @@ class TestUploadAttachVolume(cloudstackTestCase): "Check VM state is Running or not" ) try: - virtual_machine.attach_volume(self.apiclient) + virtual_machine.attach_volume(self.apiclient, volume) except Exception as e: self.fail("Failed to attach the volume: %s" % e) return