From: Eric Harney Date: Tue, 19 Jan 2016 16:06:48 +0000 (-0500) Subject: Tegile tests: Change volume size to int X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=7b012048f26904857076930f24f3fc1e2346c453;p=openstack-build%2Fcinder-build.git Tegile tests: Change volume size to int Defining volume size as a string is not correct, and causes huge memory consumption when multiplied by units.Gi in the driver. Change-Id: Ib4cf13629b70dc1c517e4c12f29c62bb9c75adbf Closes-Bug: #1535464 --- diff --git a/cinder/tests/unit/test_tegile.py b/cinder/tests/unit/test_tegile.py index 1f1a198dd..719752459 100644 --- a/cinder/tests/unit/test_tegile.py +++ b/cinder/tests/unit/test_tegile.py @@ -47,7 +47,7 @@ test_volume = {'host': 'node#testPool', test_snapshot = {'name': 'testSnap', 'id': '07ae9978-5445-405e-8881-28f2adfee732', 'volume': {'host': 'node#testPool', - 'size': '1', + 'size': 1, '_name_id': 'testvol' } }