From 6ac1d039da07498afbf01c8ff4a8a96f408db275 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Thu, 6 Apr 2017 23:12:46 -0400 Subject: [PATCH] Image meta min_disk should be int in fake_request_spec This might be blowing up some concurrently running tests by raising a TypeError comparing an int to a str in py35 jobs. It's hard to reproduce, but we know min_disk should be an int so let's just change it. Change-Id: I153544d2aeefbd2d12543481e3bda75ed0316798 Closes-Bug: #1680667 --- nova/tests/unit/fake_request_spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/unit/fake_request_spec.py b/nova/tests/unit/fake_request_spec.py index 0f0a5e390922..04d59b425f95 100644 --- a/nova/tests/unit/fake_request_spec.py +++ b/nova/tests/unit/fake_request_spec.py @@ -28,7 +28,7 @@ IMAGE_META = objects.ImageMeta.from_dict( 'container_format': 'bare', 'min_ram': 0, 'updated_at': '2014-12-12T11:16:36.000000', - 'min_disk': '0', + 'min_disk': 0, 'owner': '2d8b9502858c406ebee60f0849486222', 'protected': 'yes', 'properties': {