Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
UI test for driver load failure
Browse files Browse the repository at this point in the history
[#143971475]
  • Loading branch information
Konstantin Semenov committed Dec 17, 2017
1 parent 9c06304 commit d578f76
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/test/trilogy.bats
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,10 @@ run_test_case() {
[[ "$status" -eq 1 ]]
echo "$output"
[[ "$output" =~ "[FAIL] Invalid test case filename" ]]
}

@test "unavailable driver in jdbc URL" {
DB_URL=jdbc:mysql://host1:33060/sakila run run_project setup_teardown
[[ "$status" -eq 1 ]]
[[ "$output" =~ "[FAIL] Unable to load the driver for URL jdbc:mysql://host1:33060/sakila. Please make sure the URL is correct, and the appropriate JDBC driver is installed." ]]
}

0 comments on commit d578f76

Please sign in to comment.