<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Yeap then hımm, how could we solve this issue :)?<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Pete Muir <pmuir@redhat.com><br><b><span style="font-weight: bold;">To:</span></b> Gurkan Erdogdu <gurkanerdogdu@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> Jozef Hartinger <jharting@redhat.com>; weld-dev@lists.jboss.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, April 8, 2010 6:02:47 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [weld-dev] Running TCK Tests<br></font><br>I would bet good money it is an ordering problem. I have
certainly identified ordering problems in the TCK and Weld before when TestNG alters the order of execution.<br><br>On 8 Apr 2010, at 15:56, Gurkan Erdogdu wrote:<br><br>> hi Pete,<br>> <br>> I test failed tests with re-running and they have all passed. I really do not know the reason behind it!<br>> <br>> --Gurkan<br>> <br>> From: Pete Muir <<a ymailto="mailto:pmuir@redhat.com" href="mailto:pmuir@redhat.com">pmuir@redhat.com</a>><br>> To: Gurkan Erdogdu <<a ymailto="mailto:gurkanerdogdu@yahoo.com" href="mailto:gurkanerdogdu@yahoo.com">gurkanerdogdu@yahoo.com</a>><br>> Cc: Jozef Hartinger <<a ymailto="mailto:jharting@redhat.com" href="mailto:jharting@redhat.com">jharting@redhat.com</a>>; <a ymailto="mailto:weld-dev@lists.jboss.org" href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>> Sent: Thu, April 8, 2010 12:52:23 PM<br>> Subject: Re: [weld-dev] Running TCK Tests<br>> <br>>
Yes, this looks like an ordering issue.<br>> <br>> You will need to investigate if the issue is in OpenWebBeans or in the TCK - let us know via JIRA if you find any problems in the TCK!<br>> <br>> Pete<br>> <br>> On 22 Mar 2010, at 13:37, Gurkan Erdogdu wrote:<br>> <br>> > Hello Jozef;<br>> > <br>> > Thanks for responding. We test OpenWebBeans for TCK. We are using the last released version of TCK. There is no problem for running tests uniquely, problem occurs while running tests successively in Eclipse via TestNG plugin with given test suite file. <br>> > <br>> > No difference with standalone or incontainer testing. Problem is the same. For example, running 582 test via TestNG plugin, lets say that 10 are failed. I am running failed tests with TestNG again, then 8 are passed and re-run failed tests and remaining 2 are passed.<br>> > <br>> > Is there any ordering issue in tests? or timing
problems?<br>> > <br>> > Thanks;<br>> > <br>> > --Gurkan<br>> > <br>> > From: Jozef Hartinger <<a ymailto="mailto:jharting@redhat.com" href="mailto:jharting@redhat.com">jharting@redhat.com</a>><br>> > To: Gurkan Erdogdu <<a ymailto="mailto:gurkanerdogdu@yahoo.com" href="mailto:gurkanerdogdu@yahoo.com">gurkanerdogdu@yahoo.com</a>><br>> > Cc: <a ymailto="mailto:weld-dev@lists.jboss.org" href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>> > Sent: Mon, March 22, 2010 10:06:56 AM<br>> > Subject: Re: [weld-dev] Running TCK Tests<br>> > <br>> > I am not able to reproduce. I just run ResolutionByTypeTest several <br>> > times with 0 failures. Which version of TCK and Weld are you running? <br>> > Are you running the TCK in standalone/incontainer mode? If incontainer <br>> > which container?<br>> > <br>> > On 03/21/2010 02:01 AM,
Gurkan Erdogdu wrote:<br>> > > For example,<br>> > ><br>> > > Belows tests are failed on first run but passed on second or third try:<br>> > ><br>> > > DuplicateNamePrefixResolutionTest # testDuplicateBeanNamePrefix<br>> > > CircularDependencyTest # testCircularInjectionOnOneDependentAndOneNormalBean<br>> > > UnproxyableTest #<br>> > > testInjectionPointWithUnproxyableTypeWhichResolvesToNormalScopedBean<br>> > > ResolutionByTypeTest # testGenericBeanTypesOnProducerMethod<br>> > > ResolutionByTypeTest # testGenericBeanTypesOnProducerField<br>> > > ResolutionByTypeTest # testGenericBeanTypesOnManagedBean<br>> > ><br>> > > Gurkan<br>> > ><br>> > > ------------------------------------------------------------------------<br>> > > *From:* Mark Struberg <<a ymailto="mailto:struberg@yahoo.de"
href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>><br>> > > *To:* <a ymailto="mailto:weld-dev@lists.jboss.org" href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a>; Gurkan Erdogdu <<a ymailto="mailto:gurkanerdogdu@yahoo.com" href="mailto:gurkanerdogdu@yahoo.com">gurkanerdogdu@yahoo.com</a>><br>> > > *Sent:* Sun, March 21, 2010 1:22:59 AM<br>> > > *Subject:* AW: [weld-dev] Running TCK Tests<br>> > ><br>> > > Whenever I had such weird problems with TestNG tests, then because the<br>> > > tests are not guaranteed to get executed in order by TestNG. It's not<br>> > > even guaranteed that all tests of a certain class gets executed before<br>> > > the next class ...<br>> > ><br>> > > So this might be a problem inside the TCK.<br>> > ><br>> > > LieGrue,<br>> > > strub<br>> > ><br>> > > --- Gurkan
Erdogdu /<<a ymailto="mailto:gurkanerdogdu@yahoo.com" href="mailto:gurkanerdogdu@yahoo.com">gurkanerdogdu@yahoo.com</a>>/ schrieb am *Sa, 20.3.2010:<br>> > > *<br>> > ><br>> > > *<br>> > > Von: Gurkan Erdogdu <<a ymailto="mailto:gurkanerdogdu@yahoo.com" href="mailto:gurkanerdogdu@yahoo.com">gurkanerdogdu@yahoo.com</a>><br>> > > Betreff: [weld-dev] Running TCK Tests<br>> > > An: <a ymailto="mailto:weld-dev@lists.jboss.org" href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>> > > Datum: Samstag, 20. März, 2010 23:42 Uhr<br>> > ><br>> > > *<br>> > > *Hello folks;<br>> > ><br>> > > I have been trying to run TCK tests but trouble into some weird<br>> > > situation. Some of the tests are sometimes
passed and sometimes<br>> > > failed, and I did not find any reason for it. For example, I run<br>> > > ResolutionByTypeTest, sometimes it has passed all tests, sometimes 2<br>> > > of them failed, sometimes one of them failed, sometimes 3 of them<br>> > > failed. But always failed tests are<br>> > > "testGenericBeanTypesOnManagedBean","testGenericBeanTypesOnProducerMethod",testGenericBeanTypesOnProducerField.<br>> > ><br>> > ><br>> > > I have trouble with some other tests also, for example<br>> > > "ResolutionByNameTest#testAmbiguousELNamesResolved", it has passed<br>> > > %95 and failed %5 of time<br>> > ><br>> > > What is the reason for all of these weird sitatuions ? I use Eclipse<br>> > > with TestNG
plugin for testing.<br>> > ><br>> > > Thanks;<br>> > ><br>> > > --Gurkan<br>> > ><br>> > ><br>> > > *<br>> > > *<br>> > > *<br>> > > *<br>> > > *<br>> > > ------------------------------------------------------------------------<br>> > > *Yahoo! Türkiye açıldı!<br>> > > Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de!<br><span>> > > <a target="_blank" href="http://www.yahoo.com.tr">www.yahoo.com.tr</a> <</span><a href="http://tr.yahoo.com/" target="_blank">http://tr.yahoo.com/</a>>*<br>> > > *<br>> > > -----Integrierter Anhang folgt-----<br>> > ><br>> > > *<br>> > >
*_______________________________________________<br>> > > weld-dev mailing list<br>> > > <a ymailto="mailto:weld-dev@lists.jboss.org" href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>> > > <a href="https://lists.jboss.org/mailman/listinfo/weld-dev*" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev*</a><br>> > ><br>> > ><br>> > > __________________________________________________<br>> > > Do You Yahoo!?<br>> > > Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz<br>> > > gegen Massenmails.<br>> > > <a href="http://mail.yahoo.com" target="_blank">http://mail.yahoo.com</a><br>> > ><br>> > > ------------------------------------------------------------------------<br>> > > Yahoo! Türkiye açıldı!<br>> > > Haber, Ekonomi, Videolar,
Oyunlar hepsi Yahoo! Türkiye'de!<br><span>> > > <a target="_blank" href="http://www.yahoo.com.tr">www.yahoo.com.tr</a> <</span><a href="http://tr.yahoo.com/" target="_blank">http://tr.yahoo.com/</a>><br>> > ><br>> > ><br>> > ><br>> > > _______________________________________________<br>> > > weld-dev mailing list<br>> > > <a ymailto="mailto:weld-dev@lists.jboss.org" href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>> > > <a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>> > <br>> > Yahoo! Türkiye açıldı!<br>> > Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de!<br><span>> > <a target="_blank"
href="http://www.yahoo.com.tr_______________________________________________">www.yahoo.com.tr_______________________________________________</a></span><br>> > weld-dev mailing list<br>> > <a ymailto="mailto:weld-dev@lists.jboss.org" href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a><br>> > <a href="https://lists.jboss.org/mailman/listinfo/weld-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/weld-dev</a><br>> <br>> <br>> Yahoo! Türkiye açıldı!<br>> Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de!<br><span>> <a target="_blank" href="http://www.yahoo.com.tr">www.yahoo.com.tr</a></span><br><br></div></div>
</div><br>
<hr size="1"><FONT face=Arial size=-1>Yahoo! Türkiye açıldı!<br>
Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de!<br><a href="http://tr.yahoo.com/">www.yahoo.com.tr</a></font></body></html>