fixed https://issues.apache.org/jira/browse/TOMEE-1157

was working depending the test order
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-03-30 18:22 GMT+02:00 helio frota <[email protected]>:
> hi knagin,
>
> you can skip tests with
>
> mvn clean install -Dmaven.test.skip=true
>
> or
>
> mvn clean install -DskipTests -DfailIfNoTests=false
>
>
> Or you can do the build using profiles ( tip from Romain )
>
> Open the main pom.xml and you can see the profiles:
>
> <profile>
> <id>main</id>
> <profile>
> <id>quick</id>  try this
> <profile>
> <id>openejb</id>
> <profile>
> <id>style</id>
> <profile>
> <id>rat</id>
>
>
> -------------------------------------------
> http://eprogramming.github.io
>
>
>
> On Sun, Mar 30, 2014 at 10:28 AM, helio frota <[email protected]> wrote:
>
>> What am I doing wrong?
>>
>> i guess doing nothing wrong.
>>
>> The documentation says:
>>
>> 'mvn clean install'
>>
>> http://tomee.apache.org/dev/source-code.html
>>
>> I did this too ( from my local jenkins ) and get the same failure.
>>
>> cheers,
>> helio
>>
>> -------------------------------------------
>> http://eprogramming.github.io
>>
>>
>>
>> On Sun, Mar 30, 2014 at 10:24 AM, helio frota <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> Yep, this is true
>>>
>>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.875 sec 
>>> <<< FAILURE!
>>> list(org.superbiz.rest.UserServiceTest)  Time elapsed: 0.057 sec  <<< 
>>> FAILURE!
>>> junit.framework.ComparisonFailure: 
>>> expected:<...d</password></user><[]/users>> but 
>>> was:<...d</password></user><[user><email>[email protected]</email><fullname>dummy</fullname><id>4</id><password>unbreakable</password></user><]/users>>
>>>
>>>
>>> buildbot say build success but here on jenkins no.
>>>
>>> ...
>>>
>>> [INFO] OpenEJB :: Examples :: REST XML JSON .............. SUCCESS [7.686s]
>>> [INFO] OpenEJB :: Examples :: JAXRS and JAAS ............. SUCCESS [0.732s]
>>> [INFO] OpenEJB :: Examples :: REST and EJB ............... FAILURE [11.302s]
>>> [INFO] OpenEJB :: Web Examples :: REST Example ........... SKIPPED
>>> [INFO] OpenEJB :: Web Examples :: REST Example With Application  SKIPPED
>>> ...
>>>
>>>
>>> [INFO] BUILD FAILURE
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 1:06:58.565s
>>> [INFO] Finished at: Sun Mar 30 09:25:43 BRT 2014
>>>
>>> [INFO] Final Memory: 184M/500M
>>> [INFO] 
>>> ------------------------------------------------------------------------[ERROR]
>>>  Failed to execute goal 
>>> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) 
>>> on project rest-on-ejb: There are test failures.
>>>
>>>
>>>
>>> -------------------------------------------
>>> http://eprogramming.github.io
>>>
>>>
>>>
>>> On Sun, Mar 30, 2014 at 9:31 AM, knagin <[email protected]> wrote:
>>>
>>>>
>>>> The maven install of tomee rest-example fails with this error
>>>>
>>>> Tests in error:
>>>>   org.superbiz.rest.dao.UserServiceTest: Provider error. No provider
>>>> found
>>>>
>>>> I've tried with with and without tomee started previous to the install.
>>>> I'm running from ms window.
>>>>
>>>> What am I doing wrong?
>>>>
>>>> --Ken
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://openejb.979440.n4.nabble.com/tomee-rest-example-maven-test-failure-tp4668442.html
>>>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>>>
>>>
>>>
>>

Reply via email to