mirror of
https://github.com/rclone/rclone.git
synced 2025-03-06 02:01:49 +08: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:"
|
remote: "TestSwiftAIO:"
|
||||||
fastlist: true
|
fastlist: true
|
||||||
- backend: "swift"
|
- backend: "swift"
|
||||||
remote: "TestSwiftAIO,use_segments_container=false:"
|
remote: "TestSwiftAIOsegments:"
|
||||||
fastlist: true
|
fastlist: true
|
||||||
- backend: "swift"
|
- backend: "swift"
|
||||||
remote: "TestSwift:"
|
remote: "TestSwift:"
|
||||||
|
@ -25,6 +25,7 @@ They should be bound to localhost so they are not accessible externally.
|
|||||||
| 28629 | TestWebdavNextcloud |
|
| 28629 | TestWebdavNextcloud |
|
||||||
| 28630 | TestSMB |
|
| 28630 | TestSMB |
|
||||||
| 28631 | TestFTPProftpd |
|
| 28631 | TestFTPProftpd |
|
||||||
|
| 28632 | TestSwiftAIOsegments |
|
||||||
| 38081 | TestWebdavOwncloud |
|
| 38081 | TestWebdavOwncloud |
|
||||||
|
|
||||||
## Non localhost tests
|
## 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…
x
Reference in New Issue
Block a user