Skip to content

Commit

Permalink
Add test to cover multiple processes
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Jul 23, 2024
1 parent 67e9f3c commit 6ea5987
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/go/tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,16 @@ load 'bats-assert-master/load'
assert_success
[[ "$output" == *"compiled using vendor"* ]]
}


@test "test project with multiple processes" {
cp -a ./fixtures/multipleprocesses/* ${CURRENT_DIR}/
run /var/lib/tsuru/deploy
assert_success

[ -f /home/application/bin/api ]
[ -s /home/application/bin/api ]

[ -f /home/application/bin/worker ]
[ -s /home/application/bin/worker ]
}

0 comments on commit 6ea5987

Please sign in to comment.