Skip to content

Commit

Permalink
runtests: Print shard number also for each command in the EndToEnd te…
Browse files Browse the repository at this point in the history
…st error output to make it easy to find in the logs.
  • Loading branch information
scoder committed Feb 16, 2022
1 parent 62b7ac5 commit d8d9606
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtests.py
Expand Up @@ -1767,8 +1767,8 @@ def runTest(self):
res = -1
if res != 0:
for c, o, e in zip(cmd, out, err):
sys.stderr.write("%s\n%s\n%s\n\n" % (
c, self._try_decode(o), self._try_decode(e)))
sys.stderr.write("[%d] %s\n%s\n%s\n\n" % (
self.shard_num, c, self._try_decode(o), self._try_decode(e)))
self.assertEqual(0, res, "non-zero exit status")
self.success = True

Expand Down

0 comments on commit d8d9606

Please sign in to comment.