Mark

Previous test issue can be due to xbean upgrades or scanning changes, did
you check that? We tend to link implicitly the finder for these tests but
can have been broken at some point.

Le mar. 15 mai 2018 23:16, Mark Struberg <strub...@yahoo.de.invalid> a
écrit :

>  fb_tomee8
> I've fixed this now by fixing the broken bean. Wonder how this could have
> ever worked.Might also be partly random due to different build order?
>
> But now I'm off to the next bug.
> EarModuleNamesTest
> This one also scans for a resource due to haing the openejb-itests-beans
> on the classpath.But since the config is done manually it misses the TxMgr
> setup, which is null.
> I exclude this test for now and want to see how far I come with the other
> tests.
> LieGrue,strub
>
>     On Tuesday, 15 May 2018, 22:03:03 CEST, Jonathan Gallimore <
> jonathan.gallim...@gmail.com> wrote:
>
>  Which branch?
>
> Jon
>
> On Tue, May 15, 2018 at 9:51 PM, Mark Struberg <strub...@yahoo.de.invalid>
> wrote:
>
> >  Well, this looks weird anyhow
> > @Stateless
> > public class AnnotatedFieldInjectionStatefulBean {
> >
> > compare the name and the annotation....
> > And the additional error messages
> are:org.apache.openejb.config.ValidationWarning:
> > @Init is ignored for beans of type Stateless.  Class:
> > org.apache.openejb.test.stateful.AnnotatedFieldInjectionStatefulBean
> > Method: create"
> > "org.apache.openejb.config.ValidationWarning: @Remove is ignored for
> > beans of type Stateless.  Class: org.apache.openejb.test.stateful.
> > AnnotatedFieldInjectionStatefulBean Method: remove""
> >
> > Well, yes, true!
> > Is this a negative test bean? ^^
> >
> >    On Tuesday, 15 May 2018, 21:48:26 CEST, Mark Struberg
> > <strub...@yahoo.de.INVALID> wrote:
> >
> >  hi folks!
> > I get 2 unit test failures which look completely weird to me.Plus they
> > pass in the IDE but fail in mvn.
> > ERROR] Failures:
> > [ERROR]  CheckDescriptorLocationTest.testWarWithDescriptorInMetaInf Keys
> > do not match expected:<...or.incorrectLocation[]> but
> > was:<...or.incorrectLocation[
> > ignoredMethodAnnotation
> > ignoredMethodAnnotation]>
> > [ERROR]  CheckDescriptorLocationTest.testWarWithDescriptorInRoot Keys do
> > not match expected:<...or.incorrectLocation[]> but
> > was:<...or.incorrectLocation[
> > ignoredMethodAnnotation
> > ignoredMethodAnnotation]>
> >
> >
> > The unit test in question is
> > org.apache.openejb.config.CheckDescriptorLocationTest#
> > testWarWithDescriptorInRoot
> > This bundles a single FooBean.class with a single error.We get this
> error,
> > but also a few other test failures which apparently should not happen.
> > Those come from beans in transitive dependency projects like
> > openejb-itests-beans.
> > It passes in my IDE since there the classpath is different...
> > Any idea what happened?
> > LieGrue,strub
> >
>

Reply via email to