Skip to content

Commit

Permalink
testing: only print when in verbose mode; r=sheehan
Browse files Browse the repository at this point in the history
Saw this line of output when running `run-tests`.

Differential Revision: https://phabricator.services.mozilla.com/D10781

--HG--
extra : moz-landing-system : lando
  • Loading branch information
indygreg committed Nov 5, 2018
1 parent 63995c0 commit e226851
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testing/vcttesting/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,8 +748,9 @@ def run_ansible(self, playbook, repository=None,
if not state['State']['Running']:
break

print('%s> (timeout waiting for output; re-attaching)' %
repository)
if verbose:
print('%s> (timeout waiting for output; re-attaching)' %
repository)

if state['State']['ExitCode']:
# This should arguably be part of the exception.
Expand Down

0 comments on commit e226851

Please sign in to comment.