bq. it should print the same amount of information and then fail due
to exceeded limit

oops, I just looked for "reproduce with" and didn't find it. Here's the
seed, thanks!

 at __randomizedtesting.SeedInfo.seed([5CDD6D6056E6B15B]:0)

bq. in this context mean that the logs from one test may spill to another

My word I hope not. Async in this context is all relative to log4J.

IIUC

If the same logger is used between tests in
the _same_ suite, the output is ordered.

And if different loggers are used, the logging should be
associated with the most-recently-opened logger. If that
assumption is false, we need to explicitly close loggers,
but that would surprise me a _lot_.

I'd argue that if log messages go to loggers in another
test suite, well, I'd be very surprised.

Erick
On Fri, Sep 7, 2018 at 8:29 AM Dawid Weiss <[email protected]> wrote:
>
> I didn't look at it, but does "asynchronous" in this context mean that
> the logs from one test may spill to another? This would be very bad.
>
> The message about exceeded limit indicates exactly what it says -- the
> reproduce should be just by rerunning the test with the same master
> seed (it should print the same amount of information and then fail due
> to exceeded limit).
>
> D.
> On Fri, Sep 7, 2018 at 5:19 PM Erick Erickson <[email protected]> wrote:
> >
> > Particularly David Smiley may be intereasted:
> >
> > FAILED:  junit.framework.TestSuite.org.apache.solr.util.DistanceUnitsTest
> >
> > Error Message:
> > The test or suite printed 184196 bytes to stdout and stderr, even
> > though the limit was set to 8192 bytes. Increase the limit with
> > @Limit, ignore it completely with @SuppressSysoutChecks or run with
> > -Dtests.verbose=true
> >
> > I don't see a "reproduce with" line.
> >
> > I'm looking through failed test e-mail a little more closely due to
> > the async logger changes and noticed this.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to