diff --git a/tests/utils.py b/tests/utils.py index 245f4781b8..26741325a8 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -215,12 +215,14 @@ def run_playbook(playbook, allow_failures=False): # shows all important information. At least 15 lines of stdout # (Ansible tasks) and remaining from stderr to fill up to # maxlen size. - maxlen = 2000 - factor = maxlen / (len(_stdout) + len(_stderr)) - stdout = _truncate(_stdout.splitlines(), - int(factor * len(_stdout)), - minlines=15) - stderr = _truncate(_stderr.splitlines(), maxlen - len(stdout)) + # maxlen = 2000 + # factor = maxlen / (len(_stdout) + len(_stderr)) + # stdout = _truncate(_stdout.splitlines(), + # int(factor * len(_stdout)), + # minlines=15) + # stderr = _truncate(_stderr.splitlines(), maxlen - len(stdout)) + stdout = _stdout.splitlines() + stderr = _stderr.splitlines() assert_msg = "\n".join( [