Re: [Mojarra trunk] testAjaxEcho failure

From: Jim Driscoll <Jim.Driscoll_at_Sun.COM>
Date: Fri, 17 Apr 2009 10:23:00 -0700

It's worth noting that we treat any test failure regression as a P1,
unlike many other projects.

So if you see a failure, it's a big deal.

No idea what may be causing it, except to say that since this is one of
the first tests that run against Ajax (actually, it's the second test),
it'll fail if almost anything is wrong. (It's a deceptively simple
test, it actually exercises quite a bit of the code.)

The only thing I can think that may be failing is that you may be
compiling under an OS that we don't often compile under, such as
windows, or you may want to clean out your dependencies directory, just
to see if that clears it. Also, what version of GlassFish are you using
for tests? We test against v2, v3prelude, and v3 trunk, but it's
possible if you're using a version of the trunk we haven't run against,
that you'd experience a failure.

Hope this helps.


On 4/17/09 8:55 AM, Ryan Lubke wrote:
> On 4/17/09 8:09 AM, Andy Schwartz wrote:
>> Gang -
>> Got a small patch that I want to submit today for an issue that Ed and
>> I discussed on earlier this week. Before getting started, I decided
>> to do a clean checkout, build and test run. I am hitting the
>> following test failure when running test.with.container.refresh:
>> [junit] Testcase: testAjaxEcho took 1.844 sec
>> [junit] FAILED
>> [junit] form1:out1:- Expected 'hello', but received ''
>> [junit] junit.framework.AssertionFailedError: form1:out1:-
>> Expected 'hello', but received ''
>> [junit] at
>> com.sun.faces.htmlunit.AbstractTestCase.checkTrue(
>> [junit] at
>> com.sun.faces.ajax.AjaxEchoTestCase.testAjaxEcho(
>> Haven't had a chance to look into this yet... Will take a closer look
>> later this afternoon (stepping out for a bit now), though figured I
>> would check in here first and see whether anyone else is seeing
>> this/whether this is a known issue. I haven't yet made any changes to
>> my local copy - this is a clean checkout of revision 7044.
>> Andy
> Test were passing for me last night and hudson hasn't sent out any
> complaints.
> What's in the server log (GF_HOME/domains/domain1/logs/server.log)?
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail: