Dont include mem_swappiness when testing use of str values

Signed-off-by: Dustin Falgout <dustin@falgout.us>
This commit is contained in:
Dustin Falgout 2015-11-05 02:51:46 -06:00
parent c07dd53a2a
commit 01353c11ca
1 changed files with 1 additions and 2 deletions

View File

@ -342,7 +342,6 @@ class CreateContainerTest(api_test.BaseTestCase):
BUSYBOX, 'true',
host_config=self.client.create_host_config(
memswap_limit='1G',
mem_swappiness='40',
mem_limit='700M'
)
)
@ -353,7 +352,7 @@ class CreateContainerTest(api_test.BaseTestCase):
self.assertIn('HostConfig', inspect)
host_config = inspect['HostConfig']
for limit in ['Memory', 'MemorySwappiness', 'MemorySwap']:
for limit in ['Memory', 'MemorySwap']:
self.assertIn(limit, host_config)
def test_create_with_memory_constraints_with_int(self):