]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove execute permissions from test files.
authorAvishay Traeger <avishay@il.ibm.com>
Fri, 24 May 2013 08:19:51 +0000 (11:19 +0300)
committerAvishay Traeger <avishay@il.ibm.com>
Wed, 29 May 2013 12:58:04 +0000 (15:58 +0300)
commitfa6404eb026b45c8194b586498a7df38143a4eca
tree91c20bc7d3533b2054243a7d8e1a70007c3e13b3
parent11b184f01d24c2e4297786fdc3159a138f5e0f12
Remove execute permissions from test files.

Remove execute permissions from test_volumes.py and
test_storwize_svc.py, which caused the tests defined in them
to be skipped.

Fixing the permissions caused test_create_volume_with_volume_type to
execute, which fails. The cause of the failure is that
(1) LoggingVolumeDriver doesn't implement get_volume_stats(), and
(2) The fake RPC doesn't pass the statistics to the scheduler for
some reason.

Because this test doesn't test the scheduler, just change to use the
simple scheduler and work around the issue.

Change-Id: Ie01331d484c5c48c78b626eff1ad793dbbe7182c
Fixes: bug 1183416
cinder/tests/integrated/integrated_helpers.py
cinder/tests/integrated/test_volumes.py [changed mode: 0755->0644]
cinder/tests/test_storwize_svc.py [changed mode: 0755->0644]