Run script only if volume device is found 65/59665/2
authorDelia Popescu <delia.popescu@enea.com>
Wed, 11 Jul 2018 09:18:54 +0000 (12:18 +0300)
committerDelia Popescu <delia.popescu@enea.com>
Wed, 11 Jul 2018 11:03:59 +0000 (11:03 +0000)
commit77b42be3030c6e57f1a47cfd7a42a098a52902b8
tree89466fe9715c095d5e5408d0e10549ae2ee83d48
parent4f89564b20e9c3462614706a616d469540631786
Run script only if volume device is found

Add back volume device name search on instance.
If vol is not attached script should not run.
In the current state, if volume is not found, write_data returns
positive result and read_data cannot find any new file

Change-Id: Ifaa8af1e6d5c66f5ac776c83bebde526e77a9fd8
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
functest/opnfv_tests/openstack/cinder/read_data.sh
functest/opnfv_tests/openstack/cinder/write_data.sh