Skip to content

Commit

Permalink
das-toolbox-136: Fix test dbms peer
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Nov 20, 2024
1 parent d4c8f38 commit e2d49be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration/test_dbms_peer.bats
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ teardown() {
}

@test "Should run DBMS Peer successfuly" {
run das-cli db count-atoms

[[ "$output" -eq 0 ]]

"$(dirname "${BATS_TEST_DIRNAME}")/../scripts/start_postgres.sh" \
-n $postgres_container_name \
-p $postgres_password \
Expand Down Expand Up @@ -95,4 +99,8 @@ teardown() {

assert_line --partial "The 'public.atoms' has been mapped"
assert_line --partial "Done."

run das-cli db count-atoms

[[ "$output" -gt 0 ]]
}

0 comments on commit e2d49be

Please sign in to comment.