This is an archive of the discontinued Mercurial Phabricator instance.

treemanifest: catch remote output during tree fetching
ClosedPublic

Authored by durham on Oct 31 2017, 7:14 PM.
Tags
None
Subscribers

Details

Reviewers
phillco
Group Reviewers
Restricted Project
Commits
rFBHGX48f98b586736: treemanifest: catch remote output during tree fetching
Summary

There was a flakey test because the remote stderr output was getting eaten part
of the time. This fixes it by capturing all the output and then sending it to
stderr manually.

Tested it by running all the tests in parallel multiple times and not seeing the
issue anymore.

Also we now send that output to the debug output. We're already throwing a more
useful error message, so let's hide the noise.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durham created this revision.Oct 31 2017, 7:14 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptOct 31 2017, 7:14 PM
phillco accepted this revision.Nov 1 2017, 12:22 PM
phillco added a subscriber: phillco.
phillco added inline comments.
treemanifest/__init__.py
989

TIL, thanks.

This revision is now accepted and ready to land.Nov 1 2017, 12:22 PM
This revision was automatically updated to reflect the committed changes.