Set memory-swap to memory (#38836)

pull/4420/head
Matt Martz 2018-04-16 15:49:12 -05:00 committed by GitHub
parent 265d838ec9
commit 694d6b339c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ def delegate_docker(args, exclude, require):
if args.docker_memory:
test_options.extend([
'--memory=%d' % args.docker_memory,
'--memory-swap=0',
'--memory-swap=%d' % args.docker_memory,
])
docker_socket = '/var/run/docker.sock'