commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [NET][VFS] Help with FTPS hanging tests
Date Wed, 25 Apr 2012 22:30:04 GMT
On Apr 25, 2012, at 18:26, sebb <sebbaz@gmail.com> wrote:

> On 25 April 2012 20:55, Gary Gregory <garydgregory@gmail.com> wrote:
>> We previously had no FTPS tests. So I added
>> org.apache.commons.vfs2.provider.ftps.test.FtpsProviderTestCase_Disabled
>> which does the same thing for FTPS that we do for FTP with the addition of
>> the SSL sauce on top.
>>
>> The issue is that all of the test methods that attempt to read from two
>> input streams at the same time hang. When the second stream is asked by a
>> call site, the code tries to open another connection to the server and it
>> hangs forever.
>>
>> These tests work fine with FTP.
>>
>> Both FTP and FTPS tests use an embedded Apache FTP Server (MINA).
>>
>> Is this a bug in code or in the test? In Commons Net, Apache FTP Server
>> (MINA), VFS, the test case?
>>
>> Help please!
>
> Need to try and isolate the different parts.
> Can you test with Net independently of VFS?

The test MultipleConnectionTest tries to do that but it works.

Gary
>
>> Thank you,
>> Gary
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message