Closed Bug 797645 Opened 12 years ago Closed 12 years ago

About 0.8% of Mochitest-4's log is test_long_doc.html

Categories

(Core :: Internationalization, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 797827

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

About 436KB of the M4 log is the output for test_long_doc.html, out of a total of around 49MB for the entire log.  That doesn't sound like a huge amount, but M4 apparently regularly hits the max limit for a log, which is 50MB. Another half meg of overhead would probably be useful.

The test does something like this:
  is(outString, inString, "content decoded as " + frame);

outString and inString are very long, so it makes the log very long. Maybe they could be compared separately instead of being used as "is" arguments to avoid this?
Blocks: logspam
Blocks: 796328
Blocks: 778017
(In reply to Andrew McCreight [:mccr8] from comment #0)
> outString and inString are very long, so it makes the log very long. Maybe
> they could be compared separately instead of being used as "is" arguments to
> avoid this?

That's easy enough to do, but I proposed in bug 797827 making is() stop outputting the expected and actual results of all passing tests, which would make this unnecessary.
Oh, nice!  That's much better.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.