Merge "Remove snapshot['size'] references"
This commit is contained in:
commit
d3f1d1bf6d
@ -9441,7 +9441,7 @@ class VMAXCommonTest(test.TestCase):
|
||||
mock_sg):
|
||||
common = self.driver.common
|
||||
snapshot = self.data.test_snapshot_v3.copy()
|
||||
snapshot['size'] = '100'
|
||||
snapshot['volume_size'] = '100'
|
||||
with mock.patch.object(common, '_initial_setup',
|
||||
return_value=self.data.extra_specs):
|
||||
self.driver.create_snapshot(snapshot)
|
||||
|
@ -570,7 +570,6 @@ for i in range(8):
|
||||
snapshot['name'] = 'TEST_SNAPSHOT{0:d}'.format(i)
|
||||
snapshot['provider_location'] = None if i == 2 else '{0:d}'.format(
|
||||
i if i < 5 else i + 5)
|
||||
snapshot['size'] = 256 if i == 1 else 128
|
||||
snapshot['status'] = 'creating' if i == 2 else 'available'
|
||||
snapshot['volume_id'] = '00000000-0000-0000-0000-{0:012d}'.format(
|
||||
i if i < 5 else 7)
|
||||
|
@ -647,7 +647,6 @@ for i in range(8):
|
||||
snapshot['name'] = 'TEST_SNAPSHOT{0:d}'.format(i)
|
||||
snapshot['provider_location'] = None if i == 2 else '{0:d}'.format(
|
||||
i if i < 5 else i + 5)
|
||||
snapshot['size'] = 256 if i == 1 else 128
|
||||
snapshot['status'] = 'creating' if i == 2 else 'available'
|
||||
snapshot['volume_id'] = '00000000-0000-0000-0000-{0:012d}'.format(
|
||||
i if i < 5 else 7)
|
||||
|
Loading…
Reference in New Issue
Block a user