Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-644

Protocol tests are extremely buggy and unstable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.6
    • 0.8
    • push pull framework
    • None
    • Committer (Medium) - This is for regular contributors/committers

    Description

      The tests in:

      • protocol-sftp
      • protocol-ftp

      Are pretty buggy and unstable. For example, the protocol-ftp starts up a server on port 9000 (the default file manager port – which if you have a file manager running, this will not pass, and it will hang and then I was only able to make it release the port by restarting my computer even though lsof and netstat didn't show anything). As another example, the protocol-sftp plugin starts up an SSH server on the seemingly default port of 12222 (since it's not provided a specific port value – though it seems to also start it up on 22?). These port conflicts would easily be eliminated by Mock objects, and I think they should be since we don't need to be grabbing ports for unit tests.

      Attachments

        Issue Links

          Activity

            People

              bugg_tb Tom Barber
              chrismattmann Chris A. Mattmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: