Skip to content

Commit

Permalink
fix(tests): do not allow restarting inside tests
Browse files Browse the repository at this point in the history
It might hide some bugs and makes logs horribly long.
  • Loading branch information
nijel committed Aug 2, 2024
1 parent adad066 commit abf154b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test-generate
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ cat > docker-compose.override.yml <<EOT
services:
weblate:
image: ${TEST_CONTAINER:-weblate/weblate:edge}
restart: no
environment:
WEBLATE_TIME_ZONE: Europe/Prague
WEBLATE_SITE_DOMAIN: test.example.com
Expand All @@ -18,6 +19,7 @@ if [ "$3" = "split" ] ; then
cat >> docker-compose.override.yml <<EOT
weblate-${service}:
image: ${TEST_CONTAINER:-weblate/weblate:edge}
restart: no
environment:
WEBLATE_TIME_ZONE: Europe/Prague
WEBLATE_SITE_DOMAIN: test.example.com
Expand Down

0 comments on commit abf154b

Please sign in to comment.