aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtesting/start-saio.sh9
-rw-r--r--tests/pkg.go3
2 files changed, 4 insertions, 8 deletions
diff --git a/testing/start-saio.sh b/testing/start-saio.sh
index 8be05e0..7e66f13 100755
--- a/testing/start-saio.sh
+++ b/testing/start-saio.sh
@@ -4,12 +4,5 @@ set -euo pipefail
if docker inspect schwift-testing &>/dev/null; then
echo 'Already running.'
else
- # The `readlink -f` converts the path to repo/testing/data to an absolute path.
- DATA_PATH="$(readlink -f "$(dirname $0)")/data"
- if [ ! -d "${DATA_PATH}" ]; then
- mkdir "${DATA_PATH}"
- chown 1000:1000 "${DATA_PATH}"
- fi
-
- exec docker run --name schwift-testing -P -v "${DATA_PATH}:/swift/nodes" -t bouncestorage/swift-aio
+ exec docker run --name schwift-testing -P -t dockerswiftaio/docker-swift:2.27.0
fi
diff --git a/tests/pkg.go b/tests/pkg.go
new file mode 100644
index 0000000..571e0eb
--- /dev/null
+++ b/tests/pkg.go
@@ -0,0 +1,3 @@
+package tests
+
+//This empty source file is required to make `make test` work.