swift: fix integration tester with use_segments_container=false

This commit is contained in:
Nick Craig-Wood 2024-06-08 16:10:07 +01:00
parent 7ce60a47e8
commit 55cac4c34d
3 changed files with 26 additions and 1 deletions

View File

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

View File

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

View 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