Skip to content

Commit

Permalink
Merge pull request #4123 from M0ses/fix_database_ci_tests
Browse files Browse the repository at this point in the history
[ci] fix database tests on installed systems
  • Loading branch information
lethliel committed Nov 8, 2017
2 parents d6d00bb + e08a25a commit 3f836c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/t/0090-check_database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ TABLES_IN_DB=$(mysql -e "show tables" $DB_NAME)
[[ $TABLES_IN_DB ]]
is "$?" 0 "Checking if tables in database $DB_NAME"

[ -f /srv/obs/MySQL/*.pid ]
D=`ps -ef|grep "mysqld .* --datadir=/srv/obs/MySQL"|wc -l`
[ $D -gt 1 ]
is "$?" 0 "Checking if database is started under /srv/obs/MySQL"

0 comments on commit 3f836c3

Please sign in to comment.