Skip to content

Commit 2ab6f86

Browse files
committed
fix(tests): do not allow restarting inside tests
It might hide some bugs and makes logs horribly long.
1 parent adad066 commit 2ab6f86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test-generate

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ cat > docker-compose.override.yml <<EOT
33
services:
44
weblate:
55
image: ${TEST_CONTAINER:-weblate/weblate:edge}
6+
restart: no
67
environment:
78
WEBLATE_TIME_ZONE: Europe/Prague
89
WEBLATE_SITE_DOMAIN: test.example.com
@@ -18,6 +19,7 @@ if [ "$3" = "split" ] ; then
1819
cat >> docker-compose.override.yml <<EOT
1920
weblate-${service}:
2021
image: ${TEST_CONTAINER:-weblate/weblate:edge}
22+
restart: no
2123
environment:
2224
WEBLATE_TIME_ZONE: Europe/Prague
2325
WEBLATE_SITE_DOMAIN: test.example.com

0 commit comments

Comments
 (0)