testserver: make sure TestWebdavInfiniteScale uses an assigned port

This commit is contained in:
Nick Craig-Wood
2025-11-05 10:24:58 +00:00
parent 6890bd7738
commit 0228bbff39
2 changed files with 2 additions and 8 deletions

View File

@@ -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

View File

@@ -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