From e0c9e42e672a194f1a5aa8fd6bc48566c7ed47d7 Mon Sep 17 00:00:00 2001 From: Liam Young Date: Thu, 17 Sep 2015 12:36:07 +0100 Subject: [PATCH] Fix lint and unit tests --- metadata.yaml | 2 +- unit_tests/test_nova_compute_utils.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/metadata.yaml b/metadata.yaml index 8b7f916d..1958074c 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -5,7 +5,7 @@ description: | OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In addition to its "native" API (the OpenStack API), it also supports the Amazon EC2 API. -categories: +tags: - openstack provides: cloud-compute: diff --git a/unit_tests/test_nova_compute_utils.py b/unit_tests/test_nova_compute_utils.py index 1988fad7..878045ab 100644 --- a/unit_tests/test_nova_compute_utils.py +++ b/unit_tests/test_nova_compute_utils.py @@ -731,6 +731,7 @@ class NovaComputeUtilsTests(CharmTestCase): group='root', nr_hugepages=488, mount=False, + set_shmmax=True, ) check_call_calls = [ call('/etc/init.d/qemu-hugefsdir'), @@ -752,6 +753,7 @@ class NovaComputeUtilsTests(CharmTestCase): group='root', nr_hugepages=2048, mount=False, + set_shmmax=True, ) @patch('psutil.virtual_memory')