From 01353c11cad2952ef75945f5425ba87434535daf Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Thu, 5 Nov 2015 02:51:46 -0600 Subject: [PATCH] Dont include mem_swappiness when testing use of str values Signed-off-by: Dustin Falgout --- tests/integration/container_test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/integration/container_test.py b/tests/integration/container_test.py index af2b93bf..d77b8469 100644 --- a/tests/integration/container_test.py +++ b/tests/integration/container_test.py @@ -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):