mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
21 lines
412 B
Bash
Executable File
21 lines
412 B
Bash
Executable File
#!/usr/bin/env bash
|
|
source "$(dirname $0)/_test_setup.sh"
|
|
|
|
expected=7
|
|
count() {
|
|
docker volume ls --quiet | grep '^sentry-.*' | wc -l
|
|
}
|
|
|
|
# Maybe they exist prior, maybe they don't. Script is idempotent.
|
|
|
|
before=$(count)
|
|
test $before -eq 0 || test $before -eq $expected
|
|
|
|
source create-docker-volumes.sh
|
|
source create-docker-volumes.sh
|
|
source create-docker-volumes.sh
|
|
|
|
test $(count) -eq $expected
|
|
|
|
report_success
|