From 7b012048f26904857076930f24f3fc1e2346c453 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Tue, 19 Jan 2016 11:06:48 -0500 Subject: [PATCH] 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 --- cinder/tests/unit/test_tegile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' } } -- 2.45.2