[weld-dev] Running TCK Tests

Gurkan Erdogdu gurkanerdogdu at yahoo.com
Sat Mar 20 21:01:20 EDT 2010


For example,

Belows tests are failed on first run but passed on second or third try:

DuplicateNamePrefixResolutionTest # testDuplicateBeanNamePrefix
CircularDependencyTest # testCircularInjectionOnOneDependentAndOneNormalBean
UnproxyableTest # testInjectionPointWithUnproxyableTypeWhichResolvesToNormalScopedBean
ResolutionByTypeTest # testGenericBeanTypesOnProducerMethod
ResolutionByTypeTest # testGenericBeanTypesOnProducerField
ResolutionByTypeTest # testGenericBeanTypesOnManagedBean


Gurkan




________________________________
From: Mark Struberg <struberg at yahoo.de>
To: weld-dev at lists.jboss.org; Gurkan Erdogdu <gurkanerdogdu at yahoo.com>
Sent: Sun, March 21, 2010 1:22:59 AM
Subject: AW: [weld-dev] Running TCK Tests


Whenever I had such weird problems with TestNG tests, then because the tests are not guaranteed to get executed in order by TestNG. It's not even guaranteed that all tests of a certain class gets executed before the next class ...

So this might be a problem inside the TCK. 

LieGrue,
strub

--- Gurkan Erdogdu <gurkanerdogdu at yahoo.com> schrieb am Sa, 20.3.2010:


>Von: Gurkan Erdogdu <gurkanerdogdu at yahoo.com>
>Betreff: [weld-dev] Running TCK Tests
>An: weld-dev at lists.jboss.org
>Datum: Samstag, 20. März, 2010 23:42 Uhr
>
>
>Hello
> folks;
>
>I have been trying to run TCK tests but trouble into some weird situation. Some of the tests are sometimes passed and sometimes failed, and I did not find any reason for it. For example, I run ResolutionByTypeTest, sometimes it has passed all tests, sometimes 2 of them failed, sometimes one of them failed, sometimes 3 of them failed. But always failed tests are "testGenericBeanTypesOnManagedBean","testGenericBeanTypesOnProducerMethod",testGenericBeanTypesOnProducerField. 
>
>I have trouble with some other tests also, for example "ResolutionByNameTest#testAmbiguousELNamesResolved", it has passed %95 and failed %5 of time
>
>What is the reason for all of these weird sitatuions ? I use Eclipse with TestNG plugin for testing.
>
>Thanks;
>
>--Gurkan
>
>
>
>
>
>
________________________________
Yahoo! Türkiye açıldı!
>>Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de!
>www.yahoo.com.tr
>-----Integrierter Anhang folgt-----
>
>
>_______________________________________________
>weld-dev mailing list
>weld-dev at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/weld-dev 
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 


      ___________________________________________________________________
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20100320/c8008829/attachment.html 


More information about the weld-dev mailing list