On 25/11/2007, sebb <[EMAIL PROTECTED]> wrote:
> On 25/11/2007, sebb <[EMAIL PROTECTED]> wrote:
> > On 25/11/2007, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote:
> > > Sebastian,
> > >
> > > All looks good save one test case that is failing on me
> > >
> > >     [java] There was 1 error:
> > >     [java] 1)
> > > org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServerjava.lang.Exception:
> > >  Could not start mirror server
> > >     [java]     at
> > > org.apache.jmeter.protocol.http.sampler.TestHTTPSamplersAgainstHttpMirrorServer$1.setUp(TestHTTPSamplersAgainstHttpMirrorServer.java:96)
> > >     [java]     at junit.extensions.TestSetup
> > > $1.protect(TestSetup.java:20)
> > >     [java]     at junit.extensions.TestSetup.run(TestSetup.java:25)
> > >     [java]     at
> > > org.apache.jorphan.test.AllTests.main(AllTests.java:218)
> > >
> > >     [java] FAILURES!!!
> > >     [java] Tests run: 1328,  Failures: 0,  Errors: 1
> > >
> > > Probably a more descriptive message would help. Is there anything I may
> > > be doing wrong?
> >
> > Oops, I'd forgotten about that - it's an intermittent error.
> >
> > Seems to be a timing problem - the mirror server is run a few times,
> > and sometimes it seems the invocations overlap, causing the problem.

True, but in different test suites.

>
> Sorry, just rechecked and that's not true - it now only runs once.

True - each suite runs the server once.

> The error occurs if the server takes longer than expected to start up.

False.

> I will fix it to wait a bit longer (and improve the error message) for
> future releases.

The previous replies were not totally correct...

The mirror server is used in two test suites. In each suite, the
server is only started once. But sometimes the server from the
previous suite has not had time to release all its resources, which is
what causes the error that you saw.

I've updated the code in SVN to use different ports for the two test suites.
The test code now also detects and reports errors better.

> Is it necessary to include the fix in the current release?
> I'll happily add it.
>
> > If you try running the test again, hopefully it will run OK next time.
> >
> > You can skip the batch tests by running:
> >
> > ant _test
> >
> > Thanks for looking at the release.
> >
> > S
> > > Oleg
> > >
> > >
> > > On Sat, 2007-11-24 at 22:45 +0000, sebb wrote:
> > > > I've created JMeter 2.3.1 RC1 in the directory:
> > > >
> > > > http://people.apache.org/~sebb/jmeter-2.3.1/dist
> > > >
> > > > Site/Docs are here:
> > > > http://people.apache.org/~sebb/jmeter-2.3.1/docs
> > > >
> > > > Tag:
> > > > http://svn.apache.org/repos/asf/jakarta/jmeter/tags/v2_3_1RC1
> > > >
> > > > Keys are here:
> > > > http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/KEYS.txt
> > > > also
> > > > http://www.apache.org/dist/jakarta/jmeter/KEYS
> > > >
> > > > All feedback (and votes!) welcome.
> > > >
> > > > [ ]+1 - the release candidate is OK
> > > > [ ]-1 - there is a problem (please indicate what it is)
> > > >
> > > > The vote will remain open for at least 72 hours.
> > > >
> > > > If the vote passes, the intention is to create a formal 2.3.1 release
> > > > from the RC1 tag.
> > > >
> > > > Here's my:
> > > >
> > > > +1
> > > >
> > > > sebb AT apache DOT org
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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