Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fstest: move the Sia and Owncloud test servers out of the ephemeral port range

Nick Craig-Woodba11197157fe
diff --git a/fstest/testserver/init.d/PORTS.md b/fstest/testserver/init.d/PORTS.md
index 4da8f57d1..40ae9d20e 100644
--- a/fstest/testserver/init.d/PORTS.md
+++ b/fstest/testserver/init.d/PORTS.md
@@ -32,7 +32,8 @@ They should be bound to localhost so they are not accessible externally.
| 28637 | TestSMBKerberosCcache |
| 28638 | TestSMBKerberosCcache |
| 28639 | TestWebdavInfiniteScale |
-| 38081 | TestWebdavOwncloud |
+| 28640 | TestSia |
+| 28641 | TestWebdavOwncloud |
## Non localhost tests
diff --git a/fstest/testserver/init.d/TestSia b/fstest/testserver/init.d/TestSia
index 9b11cafa2..90e281d16 100755
--- a/fstest/testserver/init.d/TestSia
+++ b/fstest/testserver/init.d/TestSia
@@ -20,7 +20,7 @@ export -f wait_for_sia
start() {
# use non-production sia port in test
- SIA_CONN="127.0.0.1:39980"
+ SIA_CONN="127.0.0.1:28640"
# nebulouslabs/siaantfarm is stale, use up-to-date image
ANTFARM_IMAGE=ivandeex/sia-antfarm:latest
diff --git a/fstest/testserver/init.d/TestWebdavOwncloud b/fstest/testserver/init.d/TestWebdavOwncloud
index d2dc2388b..133998b53 100755
--- a/fstest/testserver/init.d/TestWebdavOwncloud
+++ b/fstest/testserver/init.d/TestWebdavOwncloud
@@ -5,7 +5,7 @@ set -e
NAME=owncloud
USER=rclone
PASS=HarperGrayerFewest5
-PORT=38081
+PORT=28641
. $(dirname "$0")/docker.bash