What about using java 1.6.0_05 ? Do you get the same errors ?

Maarten Bosteels wrote:
Hello,

I can confirm that the tests fail on linux:

java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

svn up
At revision 646531.

Running org.apache.mina.transport.socket.nio.SocketConnectorTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.207 sec
<<< FAILURE!

Running org.apache.mina.transport.socket.nio.DatagramConnectorTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
<<< FAILURE!

This last test is also failing on Windows XP:

D:\devel\mina\trunk>java -version

java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)

Sorry, no time to investigate right now.

Maarten

On Wed, Apr 9, 2008 at 10:13 PM, Valdis Rigdon <[EMAIL PROTECTED]>
wrote:

I've tried running "clean install" and clean, then install.  Neither
work.  The only java process running is my IDE.  I'm on revision
646513.

Is anyone else building/testing on Linux?

On Wed, Apr 9, 2008 at 4:07 PM, Simon Trudeau
<[EMAIL PROTECTED]> wrote:
 To make sure you did everything ok to build trunk, make sure you did
the
 following:

 Reboot your pc to make sure you don't have any dangling java.exe
process
 from failed maven operation (it happened to me).
 Svn update of your mina trunk directory
 Mvn clean on mina's root folder
 Mvn install on mina's root folder

 It should work with the latest trunk (it did for me on windows).

 Good luck,

 Simon


-----Original Message-----
 From: Valdis Rigdon [mailto:[EMAIL PROTECTED]
 Sent: April-09-08 3:56 PM
 To: [email protected]
 Subject: 2 trunk core tests failing

 I consistently get two tests failing in core running a 'clean
 install'.  Both are testConnectFutureSuccessTiming.   Attached is the
 output.

 Output from "mvn -version":

 Maven version: 2.0.8
 Java version: 1.5.0_13
 OS name: "linux" version: "2.6.22-14-generic" arch: "i386" Family:
 "unix"


 Is this a known issue?




 ------------------------------------------------------------------------
 -------
 Test set: org.apache.mina.transport.socket.nio.SocketConnectorTest

 ------------------------------------------------------------------------
 -------
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.031
 sec <<< FAILURE!

 testConnectFutureSuccessTiming(org.apache.mina.transport.socket.nio.Sock
 etConnectorTest)
  Time elapsed: 0.006 sec  <<< FAILURE!
 junit.framework.ComparisonFailure: null expected:<1[2]3> but was:<1[]3>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at

 org.apache.mina.transport.AbstractConnectorTest.testConnectFutureSuccess
 Timing(AbstractConnectorTest.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
 a:39)
        at

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
 Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at

 org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.jav
 a:81)
        at

 org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.jav
 a:62)
        at

 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSe
 t(AbstractDirectoryTestSuite.java:140)
        at

 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstr
 actDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
 a:39)
        at

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at

 org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Suref
 ireBooter.java:338)
        at

 org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java
 :997)



 ------------------------------------------------------------------------
 -------
 Test set: org.apache.mina.transport.socket.nio.DatagramConnectorTest

 ------------------------------------------------------------------------
 -------
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.007
 sec <<< FAILURE!

 testConnectFutureSuccessTiming(org.apache.mina.transport.socket.nio.Data
 gramConnectorTest)
  Time elapsed: 0.002 sec  <<< FAILURE!
 junit.framework.ComparisonFailure: null expected:<1[2]3> but was:<1[]3>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at

 org.apache.mina.transport.AbstractConnectorTest.testConnectFutureSuccess
Timing(AbstractConnectorTest.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
 a:39)
        at

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
 Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at

 org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.jav
 a:81)
        at

 org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.jav
 a:62)
        at

 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSe
 t(AbstractDirectoryTestSuite.java:140)
        at

 org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstr
 actDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
 a:39)
        at

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at

 org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Suref
 ireBooter.java:338)
        at

 org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java
 :997)




--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to