Merge lp:~gz/bzr/trivial_fork_error_block into lp:bzr
Proposed by
Martin Packman
Status: | Rejected |
---|---|
Rejected by: | Martin Packman |
Proposed branch: | lp:~gz/bzr/trivial_fork_error_block |
Merge into: | lp:bzr |
Diff against target: |
42 lines (+14/-5) 1 file modified
bzrlib/tests/__init__.py (+14/-5) |
To merge this branch: | bzr merge lp:~gz/bzr/trivial_fork_error_block |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil | Needs Information | ||
Review via email: mp+81479@code.launchpad.net |
Description of the change
Second attempt at keeping last-ditch error logging from forked selftest children separated from each other. For the background, see (merged) proposal from earlier:
<https:/
I'm not crazy about this change, it adds a lot of complexity that's not comprehensively testable. However, even if unlikely, a child process getting a signal that caused the tail of traceback not be displayed at all would be annoying.
To post a comment you must log in.
I'm not sure I understand the rationale, did you encounter a real-life case where this is required ? babune killing the master process ?
Also, I'm not sure it applied here but mixing buffered and not buffered accesses is generally error-prone and may cause data loss no ? Should you add a .flush() before trying to report the exception ?
That being said, if I my fears are without basis and you have a real use case here, this should be landed, but a comment explaining it would help.