javaee-samples / javaee7-samples

Java EE 7 Samples
https://travis-ci.org/javaee-samples/javaee7-samples
Other
2.51k stars 1.66k forks source link

Create unit tests for JAX-RS #78

Open arun-gupta opened 10 years ago

aslakknutsen commented 10 years ago

JAX-RS Singleton tests which are failing on WildFly 8.0.0.Beta1 are correct, but bug in WildFly. The issue is fixed in latest master of WildFly. If you rebuild the WildFly SNAPSHOT they should pass.

@Singleton not recognized as a singleton when used with JAX-RS.

org.javaee7.jaxrs.singleton.AnnotatedSingletonResourceTest.test1Post
org.javaee7.jaxrs.singleton.AnnotatedSingletonResourceTest.test2Get
org.javaee7.jaxrs.singleton.AnnotatedSingletonResourceTest.test3Delete
org.javaee7.jaxrs.singleton.AnnotatedSingletonResourceTest.test4Put
arun-gupta commented 10 years ago

https://arungupta.ci.cloudbees.com/job/Java%20EE%207%20Samples%20on%20WildFly-cb/ checks out new workspace every time and tests are still failing there. Trying to build workspace locally and see how it behaves.

arun-gupta commented 10 years ago

Test passes locally. Test job depends upon another job that builds WildFly. Triggering an explicit WildFly build and that should hopefully fix this.

bartoszmajsak commented 10 years ago

What is the status of this issue?

arun-gupta commented 10 years ago

Latest test results are at: https://arungupta.ci.cloudbees.com/job/javaee7-samples-on-wildfly-cb/lastCompletedBuild/testReport/ The ones listed above seems to be passing, just one for AngularJS is failing.

@bartoszmajsak do you want to look at it ?

bartoszmajsak commented 10 years ago

Absolutely. I will take care of it on Zurich or Geecon hackergarten.

kubamarchwicki commented 10 years ago

Is there a plan for Geecon hackergarten? Date, location or #nottrue

bartoszmajsak commented 10 years ago

As from what I heard it will take place on Friday, 16th

arun-gupta commented 10 years ago

Ah, I'm leaving on 16th morning to participate in Maker Faire over the weekend. By all means, please run the #JavaEE7 hackergarten.

On Sun, May 4, 2014 at 1:27 AM, Bartosz Majsak notifications@github.comwrote:

As from what I heard it will take place on Friday, 16th

— Reply to this email directly or view it on GitHubhttps://github.com/javaee-samples/javaee7-samples/issues/78#issuecomment-42127548 .

http://blog.arungupta.me http://twitter.com/arungupta

arun-gupta commented 10 years ago

What's there on Zurich ?

How about we arrange a Friday PST morning / Europe evening for hackergarten ?

On Mon, May 5, 2014 at 9:13 AM, Arun Gupta arun.gupta@gmail.com wrote:

Ah, I'm leaving on 16th morning to participate in Maker Faire over the weekend. By all means, please run the #JavaEE7 hackergarten.

On Sun, May 4, 2014 at 1:27 AM, Bartosz Majsak notifications@github.comwrote:

As from what I heard it will take place on Friday, 16th

— Reply to this email directly or view it on GitHubhttps://github.com/javaee-samples/javaee7-samples/issues/78#issuecomment-42127548 .

http://blog.arungupta.me http://twitter.com/arungupta

http://blog.arungupta.me http://twitter.com/arungupta

bartoszmajsak commented 10 years ago

Zurich Hackergarten is on 8th. Not sure yet if I will make it though.