Menu

#17 Unit tests using FakeFtpServer are slow

v1.0_(example)
closed-fixed
5
2010-04-08
2009-07-28
Anonymous
No

It seems that a sleep of 100ms is done between each ftp request.
This makes unit tests that do a lot of requests very slow.

See DefaultSession.readCommand

I'm using version 2.1

Discussion

  • Chris Mair

    Chris Mair - 2009-07-28

    Thanks for the feedback. I'll look into addressing this for the next release.
    -- Chris Mair

     
  • Chris Mair

    Chris Mair - 2009-10-16

    My apologies - I just realized that I never actually responded to this issue, even though I did see it when you opened it. I will look into this for the next release. Perhaps I can reduce that 100ms or make it configurable. - Chris Mair

     
  • Chris Mair

    Chris Mair - 2010-03-19
    • status: open --> open-fixed
     
  • Chris Mair

    Chris Mair - 2010-03-19

    I have reduced the default socket read interval time to 20ms. - Chris

     
  • Chris Mair

    Chris Mair - 2010-03-24

    This has been fixed with version 2.2. - Chris Mair

     
  • Chris Mair

    Chris Mair - 2010-03-24
    • assigned_to: nobody --> chrismair
    • status: open-fixed --> pending-fixed
     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).