diff --git a/test/runner/lib/delegation.py b/test/runner/lib/delegation.py index 356773a17e..1bb6721977 100644 --- a/test/runner/lib/delegation.py +++ b/test/runner/lib/delegation.py @@ -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'