Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-30 Thread Andrew Zhang
Hi Tim, The test also fails frequently on IBM 5.0 JRE, windows XP, SP2. Thanks. On 6/26/06, Tim Ellison <[EMAIL PROTECTED]> wrote: Jimmy, Jing Lv wrote: > however on my workstation(windows XP, RI v1.5.06), the > testcase you listed below still fails randomly (fails 1 out of 4 > approximatel

Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-28 Thread Andrew Zhang
On 6/29/06, Paulex Yang <[EMAIL PROTECTED]> wrote: Jimmy, Jing Lv wrote: > Andrew Zhang wrote: >> Hi everybody, >> >> I'm struggling to write a stable test for blocking write/read >> operation of >> Socket and SocketChannel. >> >> Could you anybody help me out? >> >> > > Hi Andrew: > > The n

Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-28 Thread Paulex Yang
Jimmy, Jing Lv wrote: Andrew Zhang wrote: Hi everybody, I'm struggling to write a stable test for blocking write/read operation of Socket and SocketChannel. Could you anybody help me out? Hi Andrew: The network testing is a problem to me as well. As all I/O depends on OS, I wonder

Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-26 Thread Tim Ellison
Jimmy, Jing Lv wrote: > however on my workstation(windows XP, RI v1.5.06), the > testcase you listed below still fails randomly (fails 1 out of 4 > approximately) on RI, is that a bug of RI? It would be interesting to know if you can reproduce it on other JREs / platforms. Regards, Tim -- Tim

Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-25 Thread Jimmy, Jing Lv
Andrew Zhang wrote: Hi everybody, I'm struggling to write a stable test for blocking write/read operation of Socket and SocketChannel. Could you anybody help me out? Hi Andrew: The network testing is a problem to me as well. As all I/O depends on OS, I wonder there is a way to ensure

Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-24 Thread Geir Magnusson Jr
Tim Ellison wrote: > Geir Magnusson Jr wrote: >> You can't force a flush on the TCP stack, as it's pushing across the >> network, and has to handle retries, fragmentation, etc. > > Agreed, you cannot push it all the way through the network. > >> What I meant was mock to keep the OS out of it. >

Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-24 Thread Tim Ellison
Geir Magnusson Jr wrote: > You can't force a flush on the TCP stack, as it's pushing across the > network, and has to handle retries, fragmentation, etc. Agreed, you cannot push it all the way through the network. > What I meant was mock to keep the OS out of it. > > However, I don't understand

Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-24 Thread Geir Magnusson Jr
Geir Magnusson Jr >> SSG/MPD >> [EMAIL PROTECTED] >> +1 203 665 6437 >> >> > -Original Message- >> > From: Andrew Zhang [mailto:[EMAIL PROTECTED] >> > Sent: Friday, June 23, 2006 8:11 PM >> > To: harmony-dev@incubator.apache.org >> &

Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-24 Thread Andrew Zhang
ng [mailto:[EMAIL PROTECTED] > Sent: Friday, June 23, 2006 8:11 PM > To: harmony-dev@incubator.apache.org > Subject: [classlib][LUNI | NIO] How to write stable tests for > blocking write/read operations of Socket and SocketChannel > > Hi everybody, > > I'm struggling

RE: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-23 Thread Magnusson, Geir
r.apache.org > Subject: [classlib][LUNI | NIO] How to write stable tests for > blocking write/read operations of Socket and SocketChannel > > Hi everybody, > > I'm struggling to write a stable test for blocking write/read > operation of > Socket and SocketChannel. >

[classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel

2006-06-23 Thread Andrew Zhang
Hi everybody, I'm struggling to write a stable test for blocking write/read operation of Socket and SocketChannel. Could you anybody help me out? On 6/23/06, Andrew Zhang <[EMAIL PROTECTED]> wrote: Hi Alexander, Thanks for your kind reminder. Certainly I'll use sth. like Support_PortManag