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

testserver: make sure TestWebdavInfiniteScale uses an assigned port

Nick Craig-Wood0228bbff3961
diff --git a/fstest/testserver/init.d/PORTS.md b/fstest/testserver/init.d/PORTS.md
index d86f3767c..fc955a2a5 100644
--- a/fstest/testserver/init.d/PORTS.md
+++ b/fstest/testserver/init.d/PORTS.md
@@ -32,6 +32,7 @@ They should be bound to localhost so they are not accessible externally.
| 28636 | TestS3Exaba |
| 28637 | TestSMBKerberosCcache |
| 28638 | TestSMBKerberosCcache |
+| 28639 | TestWebdavInfiniteScale |
| 38081 | TestWebdavOwncloud |
## Non localhost tests
diff --git a/fstest/testserver/init.d/TestWebdavInfiniteScale b/fstest/testserver/init.d/TestWebdavInfiniteScale
index 68fd7df25..f13e22bec 100755
--- a/fstest/testserver/init.d/TestWebdavInfiniteScale
+++ b/fstest/testserver/init.d/TestWebdavInfiniteScale
@@ -5,7 +5,7 @@ set -e
NAME=infinitescale
USER=admin
PASS=admin
-PORT=9200
+PORT=28639
CONF_DIR=/tmp/ocis-config
mkdir -p ${CONF_DIR}
chmod 777 ${CONF_DIR} || true
@@ -13,7 +13,6 @@ chmod 777 ${CONF_DIR} || true
. $(dirname "$0")/docker.bash
start() {
-
docker run --rm --name $NAME \
-v ${CONF_DIR}:/etc/ocis \
-e "OCIS_INSECURE=true" \
@@ -44,10 +43,4 @@ start() {
echo _connect_delay=5s
}
-stop() {
- # Clean up the mess
- docker stop infinitescale
- rm -f ./ocis.yaml
-}
-
. $(dirname "$0")/run.bash