test: No longer accumulate orphans on each test run (#7978)
Stop producing orphans and `No such container: boulder_tests` on each test invocation.
This commit is contained in:
parent
dbb248eba6
commit
8ab022e8c9
7
t.sh
7
t.sh
|
@ -10,9 +10,6 @@ if type realpath >/dev/null 2>&1 ; then
|
|||
fi
|
||||
|
||||
# Generate the test keys and certs necessary for the integration tests.
|
||||
docker compose run bsetup
|
||||
docker compose run --rm bsetup
|
||||
|
||||
# Use a predictable name for the container so we can grab the logs later
|
||||
# for use when testing logs analysis tools.
|
||||
docker rm boulder_tests || true
|
||||
exec docker compose run --name boulder_tests boulder ./test.sh "$@"
|
||||
exec docker compose run --rm --name boulder_tests boulder ./test.sh "$@"
|
||||
|
|
7
tn.sh
7
tn.sh
|
@ -10,9 +10,6 @@ if type realpath >/dev/null 2>&1 ; then
|
|||
fi
|
||||
|
||||
# Generate the test keys and certs necessary for the integration tests.
|
||||
docker compose run bsetup
|
||||
docker compose run --rm bsetup
|
||||
|
||||
# Use a predictable name for the container so we can grab the logs later
|
||||
# for use when testing logs analysis tools.
|
||||
docker rm boulder_tests || true
|
||||
exec docker compose -f docker-compose.yml -f docker-compose.next.yml run boulder ./test.sh "$@"
|
||||
exec docker compose -f docker-compose.yml -f docker-compose.next.yml run --rm --name boulder_tests boulder ./test.sh "$@"
|
||||
|
|
Loading…
Reference in New Issue