global tags unnecessarily inflate concurrent test results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
This is, to be clear, a relatively mild annoyance, not a bug.
ThreadsafeForwa
If I understand the subunit tag semantics correctly, having local per-test tags would be semantically equivalent. This would also halve the number of times that global tags must be included in the stream. In the case of the LP parallel test stream, this would be a significant space savings, because layers are indicated with global tags, and we have many layers running at a time, and each layer tag name is long.
Working from the LP subunit parallel test output at http://
(Perhaps it could be a separate tags line, in case someone diagnosing the stream really wanted to know the source of the tag.)
Changed in testtools: | |
status: | Triaged → Fix Committed |
Changed in testtools: | |
status: | Fix Committed → Fix Released |
I think a clean way to address this would be a normalising filter after the multiplexing occurs, it can identify redundant tag operations and clean things up.
e.g.
==
tag: -foo bar
time: T
tag: -bar foo
time: T+n
==
->
==
==