Hi,

I run it on my mac and it passes.

It's just transfer a me.bmp file using MTOM which size is 163166 byte, you can find that file in src tree and it's size is 163166. Not sure why it's size become 163167 when receive it on your machine. Probably it could be the incorrect test code

Anyone see this piece of code could be interpreted differently on different platform?

        InputStream mtomIn = handler.value.getInputStream();
        long fileSize = 0;
        for (int i = mtomIn.read(); i != -1; i = mtomIn.read()) {
            fileSize++;
        }
       assertEquals(fileSize, 163166);

could fileSize++ here is the culprit?

Anyway I don't think it's a real issue.

Freeman

On 2012-6-8, at 上午11:58, Andreas Pieber wrote:

OK; I've checked out the sources from svn and the src package
distributed and both builds basically work; except for one issue: the
testMtomOsgi fails with:

Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
101.218 sec <<< FAILURE!
testMtomOsgi(org.apache.servicemix.examples.IntegrationTest)  Time
elapsed: 10.459 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<163167> but was:<163166>

Is it possible that this test is platform dependent? can someone pls
check if he gets the same error using 64bit linux?

After building without tests everything seams to work; notice and
license looks fine to be too.

So +/-0 (non-binding) right now depending on the reason for the above
error (platform specific vs. "real" error).

Kind regards,
Andreas

On Thu, Jun 7, 2012 at 11:59 AM, Guillaume Nodet <[email protected]> wrote:
+1

On Fri, May 25, 2012 at 9:28 PM, Gert Vanthienen
<[email protected]> wrote:
L.S.,


I've uploaded a release for Apache ServiceMix 4.4.2 to

https://repository.apache.org/content/repositories/orgapacheservicemix-138/

An overview of issues fixed in this release can be found in JIRA at
 https://issues.apache.org/jira/browse/SMX4/fixforversion/12321271

The scm tag is available on

https://svn.apache.org/repos/asf/servicemix/smx4/features/tags/features-4.4.2/

Please vote to approve this release:

[ ] +1 Approve the release
[ ] -1 Do not approve the release (please provide specific comments)

This vote will be open for 72 hours.


Regards,

Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



--
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
FuseSource, Integration everywhere
http://fusesource.com

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042










Reply via email to