Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.6
-
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
- incorporates
-
OODT-660 TestCogJGlobusFtpProtocol fails if another service is using TCP port 9000
- Closed