# Linstor storage plugin This directory contains the basic VM, Volume life cycle tests for Linstor storage pool (in KVM hypervisor). ## Running tests To run the basic volume tests, first update the below test data of the CloudStack environment ``` TestData.zoneId: TestData.clusterId: TestData.domainId: TestData.url: TestData.primaryStorage "url": ``` and to enable and run volume migration tests, update the below test data ``` TestData.migrationTests: True TestData.primaryStorageSameInstance "url": TestData.primaryStorageDistinctInstance "url": ``` Then run the tests using python unittest runner: nosetests ``` nosetests --with-marvin --marvin-config= /test/integration/plugins/linstor/test_linstor_volumes.py --zone= --hypervisor=kvm ``` You can also run these tests out of the box with PyDev or PyCharm or whatever.