dev@glassfish.java.net

Re: QL failure?

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 05 Aug 2008 10:01:38 -0700

Could be "simple" JDK issue, like a bug in the JDK.

Or it could be something like a threading issue. The code and the
test should be examined carefully for thread safety.

Lloyd


On Aug 5, 2008, at 9:55 AM, Hong Zhang wrote:

> Yes, you are right! The problem went away after I switched to JDK 5.
>
> Sahoo wrote:
>> Kedar observed this as well and he was telling that he saw the
>> failures while running on JDK 6, where as JDK 5 was fine. What JDK
>> are you using? Try JDK 5 if applicable.
>>
>> Thanks,
>> Sahoo
>>
>> Hong Zhang wrote:
>>> I checked out a fresh workspace just now and I got one failure and
>>> one skip when running QL.
>>>
>>> stng] url=http://localhost:8080/jpainjectemf/jpa?testcase=llinit
>>> [testng] FAILED: test1
>>> [testng] java.lang.AssertionError: Unexpected Results
>>> expected:<true> but was:<false>
>>> [testng] at
>>> test
>>> .jpa.jpainjectemf.JpaInjectEMFTestNG.test1(JpaInjectEMFTestNG.java:
>>> 71)
>>> [testng] ... Removed 26 stack frames
>>> [testng] SKIPPED: test2
>>>
>>> [testng] ===============================================
>>> [testng] jpainjectemf
>>> [testng] Tests run: 2, Failures: 1, Skips: 1
>>>
>>> However, Hudson reported all QL tests passed, so I am not sure
>>> why. Anyone seeing the same thing?
>>>
>>> Thanks,
>>>
>>> - Hong
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>