mirror of
https://github.com/rclone/rclone.git
synced 2025-12-23 23:38:34 -05:00
testserver: make sure TestWebdavInfiniteScale uses an assigned port
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user