I experienced similar setup issues when attempting to run the TCK.
> Date: Mon, 2 Aug 2010 16:28:56 -0400 > Subject: Re: [IMPORTANT] About Big Commits > From: [email protected] > To: [email protected] > > Hi Gurkan, I followed your directions and ran the tests and hit a few setup > issues and not matching results. > > Setup issues: > 1) Received errors about having tomcat.home defined in two places. I had it > in both my pom.xml and inside of jboss-test-harness.properties. Had to > comment out the second instance to avoid the error. > 2) Had to set "org.jboss.testharness.runIntegrationTests=false" for the > standalone tests. Not sure if this was assumed, but wasn't directly > mentioned in the standalone section of the TCK_RUNNING.TXT file. > 3) Had to add the user/password for tomcat. This is printed in the INFO > messages, so wasn't hard to find but isn't mentioned in the instructions. > 4) My silly mistake, but had to start tomcat first. This does seem a bit > odd though as the standalone tests don't actually leverage tomcat do they? > I don't see any output in the catalina.log. Perhaps this is due to > org.jboss.testharness.api.TestLauncher setting? > > Errors after resolving the above: > > Failed tests: > > testBindingTypesAppliedToDisposalMethodParameters(org.jboss.jsr299.tck.tests.implementation.disposal.method.definition.DisposalMethodDefinitionTest) > > testContextCreatesNewInstanceForInjection(org.jboss.jsr299.tck.tests.implementation.simple.lifecycle.SimpleBeanLifecycleTest) > > Tests run: 574, Failures: 2, Errors: 0, Skipped: 0 > > I will happily update the instructions in SVN with the steps i missed if > those appear correct. Not sure about the two failing tests in my > environment that don't fail for you. Does anyone else see these? > > Sincerely, > > Joe > > > > On Mon, Jul 26, 2010 at 4:38 AM, Gurkan Erdogdu > <[email protected]>wrote: > > > I have committed changes. Now, all 574 tests have passed. > > > > > > > > > > ________________________________ > > From: Gurkan Erdogdu <[email protected]> > > To: [email protected] > > Sent: Mon, July 26, 2010 11:16:44 AM > > Subject: Re: [IMPORTANT] About Big Commits > > > > Hi Eric; > > > > Needs some tweaking on EJB plugin to allow standalone test's EJB classes > > are > > correctly deployed. Iwill tinker it. > > > > Regards; > > > > --Gurkan > > > > > > ________________________________ > > From: Eric Covener <[email protected]> > > To: [email protected] > > Sent: Sun, July 25, 2010 7:39:13 PM > > Subject: Re: [IMPORTANT] About Big Commits > > > > On Sat, Jul 24, 2010 at 3:15 PM, Gurkan Erdogdu <[email protected]> > > wrote: > > > > > http://svn.apache.org/repos/asf/openwebbeans/trunk/readme/TCK_RUNNING.txt > > > > > Thanks Gurkan -- I ran standalone and got these results (twice) : > > Tests run: 574, Failures: 10, Errors: 0, Skipped: 0, Time elapsed: > > 42.527 sec <<< FAILURE! > > > > Results : > > > > Failed tests: > > > > > > testBindingTypesAppliedToDisposalMethodParameters(org.jboss.jsr299.tck.tests.implementation.disposal.method.definition.DisposalMethodDefinitionTest) > > > > > > > > > > testRemoteInterfacesAreNotInAPITypes(org.jboss.jsr299.tck.tests.implementation.enterprise.definition.EnterpriseBeanDefinitionTest) > > > > > > > > > > testBeanTypesAreLocalInterfacesWithoutWildcardTypesOrTypeVariablesWithSuperInterfaces(org.jboss.jsr299.tck.tests.implementation.enterprise.definition.EnterpriseBeanDefinitionTest) > > > > > > > > > > testNewBeanHasNoBeanELName(org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanTest) > > > > > > > > > > testNewBeanHasNoStereotypes(org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanTest) > > > > > > > > > > testNewBeanHasNoObservers(org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanTest) > > > > > > > > > > testForEachEnterpriseBeanANewBeanExists(org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanTest) > > > > > > > > > > testNewBeanIsHasOnlyNewBinding(org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanTest) > > > > > > > > > > testNewBeanIsDependentScoped(org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanTest) > > > > > > > > > > testContextCreatesNewInstanceForInjection(org.jboss.jsr299.tck.tests.implementation.simple.lifecycle.SimpleBeanLifecycleTest) > > > > > > > > > > Is the current expectation that both web and standalone run 100% > > clean, with perhaps some timing issues that cause transient failures? > > > > I was surprised to see EJB definition tests in the standalone suite -- > > do you test against a tomcat+openejb that has the integration applied? > > I don't think we could figure out "local interfaces only" without > > that (looking at testcase name only of one of the above) > > > > > > -- > > Eric Covener > > [email protected] > > > >
