[ 
https://issues.apache.org/jira/browse/DELTASPIKE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556203#comment-14556203
 ] 

Gerhard Petracek edited comment on DELTASPIKE-908 at 5/22/15 2:23 PM:
----------------------------------------------------------------------

yes - i found the same some hours ago.
this test was a contribution, but it isn't implemented correctly and we mainly 
reviewed the implementation and not the test.

it just looked like an issue with arquillian, because we had something similar 
in the past and we have so many ci-jobs which showed this (test-)issue just 1-2 
times.


was (Author: gpetracek):
yes - i found the same some hours ago.
this test was a contribution, but it isn't implemented correctly and we mainly 
reviewed the implementation and not the test.

> org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails 
> with Weld
> --------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-908
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-908
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Scheduler
>    Affects Versions: 1.3.0
>            Reporter: Tomas Remes
>            Assignee: Gerhard Petracek
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> {noformat}
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
>       at junit.framework.Assert.fail(Assert.java:50)
>       at junit.framework.Assert.failNotEquals(Assert.java:287)
>       at junit.framework.Assert.assertEquals(Assert.java:67)
>       at junit.framework.Assert.assertEquals(Assert.java:199)
>       at junit.framework.Assert.assertEquals(Assert.java:205)
>       at 
> org.apache.deltaspike.test.scheduler.custom.CustomSchedulerTest.checkAutoRegisteredSchedulerJob(CustomSchedulerTest.java:54)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:483)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>       at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273)
>       at 
> org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
> {noformat}
> I am not sure what's the cause yet. I need to do further investigation. Weld 
> version doesn't matter here. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to