Skip to content

Commit

Permalink
Fix inifinite docker tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Minituff committed Oct 24, 2023
1 parent d6de409 commit 5828e3a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,3 @@ services:
- EXIT_AFTER_INIT=false
- BACKUP_ON_START=true
- LOG_LEVEL=DEBUG
depends_on:
- alpine
alpine:
image: alpine:latest
container_name: alpine
command: "tail -f /dev/null"
2 changes: 1 addition & 1 deletion tests/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ test_rsync() {
export BACKUP_ON_START="true"

mkdir -p tests/source/container1 && touch tests/source/container1/test.txt
mkdir -p tests/source/container2 && touch source/container1/test.txt
mkdir -p tests/source/container2 && touch tests/source/container1/test.txt
mkdir -p tests/destination

declare -a mock_docker_ps_lines=(
Expand Down

0 comments on commit 5828e3a

Please sign in to comment.