mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 00:13:49 +01:00
swift: fix integration tester with use_segments_container=false
This commit is contained in:
parent
7ce60a47e8
commit
55cac4c34d
@ -279,7 +279,7 @@ backends:
|
||||
remote: "TestSwiftAIO:"
|
||||
fastlist: true
|
||||
- backend: "swift"
|
||||
remote: "TestSwiftAIO,use_segments_container=false:"
|
||||
remote: "TestSwiftAIOsegments:"
|
||||
fastlist: true
|
||||
- backend: "swift"
|
||||
remote: "TestSwift:"
|
||||
|
@ -25,6 +25,7 @@ They should be bound to localhost so they are not accessible externally.
|
||||
| 28629 | TestWebdavNextcloud |
|
||||
| 28630 | TestSMB |
|
||||
| 28631 | TestFTPProftpd |
|
||||
| 28632 | TestSwiftAIOsegments |
|
||||
| 38081 | TestWebdavOwncloud |
|
||||
|
||||
## Non localhost tests
|
||||
|
24
fstest/testserver/init.d/TestSwiftAIOsegments
Executable file
24
fstest/testserver/init.d/TestSwiftAIOsegments
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
NAME=swift-aio-segments
|
||||
PORT=28632
|
||||
|
||||
. $(dirname "$0")/docker.bash
|
||||
|
||||
start() {
|
||||
docker run --rm -d --name ${NAME} \
|
||||
-p 127.0.0.1:${PORT}:8080 \
|
||||
bouncestorage/swift-aio
|
||||
|
||||
echo type=swift
|
||||
echo env_auth=false
|
||||
echo user=test:tester
|
||||
echo key=testing
|
||||
echo auth=http://127.0.0.1:${PORT}/auth/v1.0
|
||||
echo use_segments_container=false
|
||||
echo _connect=127.0.0.1:${PORT}
|
||||
}
|
||||
|
||||
. $(dirname "$0")/run.bash
|
Loading…
Reference in New Issue
Block a user