Skip to content

Commit

Permalink
Adapt test to midpoint change
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Sep 29, 2018
1 parent 0e78e7f commit 4c5e895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/simple/tests/main.bats
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ load ../../../library

@test "350 Test DB schema version check" {
echo "Removing version information from m_global_metadata"
docker exec simple_midpoint-data_1 mysql -p123321 registry -e "delete from m_global_metadata"
docker exec simple_midpoint-data_1 mysql -p123321 registry -e "drop table m_global_metadata"

echo "Bringing the containers down"
docker-compose down

echo "Re-creating the containers"
docker-compose up -d

wait_for_log_message simple_midpoint-server_1 "com.evolveum.midpoint.util.exception.SystemException: Existing database schema version could not be determined"
wait_for_log_message simple_midpoint-server_1 "Database schema is not compatible with the executing code; however, an upgrade path is available."
}

@test "999 Clean up" {
Expand Down

0 comments on commit 4c5e895

Please sign in to comment.