cinder/cinder/tests/unit/windows
Lucian Petrut 3fe6adbe7d Windows SMBFS: Fix image resize errors during volume creation
When creating volumes from images or snapshots, the corresponding
virtual disk image is resized up to the volume size.

At the moment, the resize is performed even if the image already
has the requested size. This can raise an excepion in some
environments.

This patch checks the image size and performs the resize only if
it's required.

Change-Id: Ib65f0e8d69f93ae21975eb46ba24e085c06e4e34
Closes-Bug: #1437306
2015-05-11 16:08:35 +03:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
db_fakes.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_smbfs.py Windows SMBFS: Fix image resize errors during volume creation 2015-05-11 16:08:35 +03:00
test_vhdutils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_windows.py Merge "tests: replace mox by mox3, clean out mox usage" 2015-05-08 18:55:18 +00:00
test_windows_remotefs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_windows_utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00