Skip to content

Commit 01353c1

Browse files
committed
Dont include mem_swappiness when testing use of str values
Signed-off-by: Dustin Falgout <[email protected]>
1 parent c07dd53 commit 01353c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/integration/container_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ def test_create_with_memory_constraints_with_str(self):
342342
BUSYBOX, 'true',
343343
host_config=self.client.create_host_config(
344344
memswap_limit='1G',
345-
mem_swappiness='40',
346345
mem_limit='700M'
347346
)
348347
)
@@ -353,7 +352,7 @@ def test_create_with_memory_constraints_with_str(self):
353352

354353
self.assertIn('HostConfig', inspect)
355354
host_config = inspect['HostConfig']
356-
for limit in ['Memory', 'MemorySwappiness', 'MemorySwap']:
355+
for limit in ['Memory', 'MemorySwap']:
357356
self.assertIn(limit, host_config)
358357

359358
def test_create_with_memory_constraints_with_int(self):

0 commit comments

Comments
 (0)