Fix lint and unit tests
This commit is contained in:
parent
50886fc17c
commit
e0c9e42e67
@ -5,7 +5,7 @@ description: |
|
|||||||
OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In
|
OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In
|
||||||
addition to its "native" API (the OpenStack API), it also supports the Amazon
|
addition to its "native" API (the OpenStack API), it also supports the Amazon
|
||||||
EC2 API.
|
EC2 API.
|
||||||
categories:
|
tags:
|
||||||
- openstack
|
- openstack
|
||||||
provides:
|
provides:
|
||||||
cloud-compute:
|
cloud-compute:
|
||||||
|
@ -731,6 +731,7 @@ class NovaComputeUtilsTests(CharmTestCase):
|
|||||||
group='root',
|
group='root',
|
||||||
nr_hugepages=488,
|
nr_hugepages=488,
|
||||||
mount=False,
|
mount=False,
|
||||||
|
set_shmmax=True,
|
||||||
)
|
)
|
||||||
check_call_calls = [
|
check_call_calls = [
|
||||||
call('/etc/init.d/qemu-hugefsdir'),
|
call('/etc/init.d/qemu-hugefsdir'),
|
||||||
@ -752,6 +753,7 @@ class NovaComputeUtilsTests(CharmTestCase):
|
|||||||
group='root',
|
group='root',
|
||||||
nr_hugepages=2048,
|
nr_hugepages=2048,
|
||||||
mount=False,
|
mount=False,
|
||||||
|
set_shmmax=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
@patch('psutil.virtual_memory')
|
@patch('psutil.virtual_memory')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user