From 5bc9bb9fbbb4b958c8b8f8c60f65918975131cd1 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Sat, 17 Feb 2018 20:34:27 -0800 Subject: [PATCH] Support ansible-test --truncate with delegation. --- test/runner/lib/delegation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/runner/lib/delegation.py b/test/runner/lib/delegation.py index 2ba4b24f08..99d2715203 100644 --- a/test/runner/lib/delegation.py +++ b/test/runner/lib/delegation.py @@ -366,6 +366,7 @@ def filter_options(args, argv, options, exclude, require): options = options.copy() options['--requirements'] = 0 + options['--truncate'] = 1 if isinstance(args, TestConfig): options.update({ @@ -414,3 +415,6 @@ def filter_options(args, argv, options, exclude, require): if args.metadata_path: yield '--metadata' yield args.metadata_path + + yield '--truncate' + yield '%d' % args.truncate