Skip to content

Commit

Permalink
For timeouts include the command being run in the failure string
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Morley committed Apr 11, 2014
1 parent d3364bf commit b66cc92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slave/buildslave/runprocess.py
Expand Up @@ -768,12 +768,12 @@ def failed(self, why):

def doTimeout(self):
self.ioTimeoutTimer = None
msg = "command timed out: %d seconds without output" % self.timeout
msg = "command timed out: %d seconds without output running %s" % (self.timeout, self.fake_command)
self.kill(msg)

def doMaxTimeout(self):
self.maxTimeoutTimer = None
msg = "command timed out: %d seconds elapsed" % self.maxTime
msg = "command timed out: %d seconds elapsed running %s" % (self.maxTime, self.fake_command)
self.kill(msg)

def isDead(self):
Expand Down

0 comments on commit b66cc92

Please sign in to comment.