You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Jeff Genender <jg...@apache.org> on 2007/09/19 23:17:15 UTC

Test failures on trunk?

I noticed the following today:

Failed tests:

testSuspendResumeReadWrite(org.apache.mina.transport.socket.nio.DatagramTrafficControlTest)

Does anyone know when that may get fixed?

Thanks,

Jeff

Re: Test failures on trunk?

Posted by Trustin Lee <tr...@gmail.com>.
On 9/20/07, Mike Heath <mh...@apache.org> wrote:
> I saw this too but I ran the tests again and they passed.  It looks like
>   testSuspendResumeReadWrite isn't deterministic and need to be looked at.

Yeah, there's some timing issue with the test.  I added 100ms delay to
make it work 99% of time, but we might need TrafficControlFuture here.
 WDYT?

We could also add filterSetTrafficMask() to IoFilter, but I'm not sure
it will be useful.

Trustin

> Jeff Genender wrote:
> > I noticed the following today:
> >
> > Failed tests:
> >
> > testSuspendResumeReadWrite(org.apache.mina.transport.socket.nio.DatagramTrafficControlTest)
> >
> > Does anyone know when that may get fixed?
> >
> > Thanks,
> >
> > Jeff
> >
>
>


-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Re: Test failures on trunk?

Posted by Mike Heath <mh...@apache.org>.
I saw this too but I ran the tests again and they passed.  It looks like 
  testSuspendResumeReadWrite isn't deterministic and need to be looked at.

Jeff Genender wrote:
> I noticed the following today:
> 
> Failed tests:
> 
> testSuspendResumeReadWrite(org.apache.mina.transport.socket.nio.DatagramTrafficControlTest)
> 
> Does anyone know when that may get fixed?
> 
> Thanks,
> 
> Jeff
>