Yes, NioFileRegionTest is passing. The DatagramConnectorTest is still
failing with this error:
-------------------------------------------------------------------------------
Test set: org.apache.mina.transport.socket.nio.DatagramConnectorTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.067
sec <<< FAILURE!
testSessionCallbackInvocation(org.apache.mina.transport.socket.nio.DatagramConnectorTest)
Time elapsed: 5.017 sec <<< FAILURE!
junit.framework.AssertionFailedError: Timed out waiting for callback
and IoHandler.sessionCreated to be invoked
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at
org.apache.mina.transport.AbstractConnectorTest.testSessionCallbackInvocation(AbstractConnectorTest.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.java:81)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.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.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
Cameron
On Thu, Feb 21, 2008 at 2:04 PM, Mike Heath <[EMAIL PROTECTED]> wrote:
> I found a race condition in NioFileRegionTest and it should be fixed
> now. Please try and let me know if it works for you.
>
> I'm not sure what's causing the DatagramConnectorTest to fail.
>
> -Mike
>
>
>
> Cameron Taggart wrote:
> >>From the latest in subversion, when I do a "maven clean install", I
> > get two test failures:
> >
> > Running org.apache.mina.transport.socket.nio.NioFileRegionTest
> > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.291
> > sec <<< FAILURE!
> >
> > Running org.apache.mina.transport.socket.nio.DatagramConnectorTest
> > Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.077
> > sec <<< FAILURE!
> >
> > Is it building/failing for others? Here is my environment:
> >
> > D:\projects-svn\mina>mvn -version
> > Maven version: 2.0.8
> > Java version: 1.6.0
> > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> >
> > Cameron
> >
>
>