mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 20:04:52 +01:00
8dc4c01209
This changes as many of the integraton tests as possible so that they use port forwarding rather than the docker IP directly. Using the docker IP directly does not work on macOS and Windows as the docker images are running in a VM rather than a container. This adds the PORTS.md document to document which port numbers we are using for which service as they need to be unique.
1.1 KiB
1.1 KiB
Ports for tests
All these tests need to run on a different port.
They should be bound to localhost so they are not accessible externally.
Port | Test |
---|---|
88 | TestHdfs |
750 | TestHdfs |
8020 | TestHdfs |
8086 | TestSeafileV6 |
8087 | TestSeafile |
8088 | TestSeafileEncrypted |
9866 | TestHdfs |
28620 | TestWebdavRclone |
28621 | TestSFTPRclone |
28622 | TestFTPRclone |
28623 | TestSFTPRcloneSSH |
28624 | TestS3Rclone |
28625 | TestS3Minio |
28626 | TestS3MinioEdge |
28627 | TestSFTPOpenssh |
28628 | TestSwiftAIO |
28629 | TestWebdavNextcloud |
28630 | TestSMB |
28631 | TestFTPProftpd |
38081 | TestWebdavOwncloud |
Non localhost tests
All these use $(docker_ip)
which means they don't work on macOS or
Windows. It is proabably possible to make them work with some effort
but will require port forwarding a range of ports and configuring the
FTP server to only use that range of ports. The FTP server will likely
need know it is behind a NAT so it advertises the correct external IP.
- TestFTPProftpd
- TestFTPPureftpd
- TestFTPVsftpd
- TestFTPVsftpdTLS