mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
tests: mysql: Wait for the socket before running queries.
* gnu/tests/databases.scm (run-mysql-test): Add socket test.
This commit is contained in:
parent
fe0a1b49c1
commit
96efebed24
1 changed files with 3 additions and 0 deletions
|
@ -430,6 +430,9 @@ (define marionette
|
|||
(test-assert "mysql_upgrade completed"
|
||||
(wait-for-file "/var/lib/mysql/mysql_upgrade_info" marionette))
|
||||
|
||||
(test-assert "socket is ready"
|
||||
(wait-for-unix-socket "/run/mysqld/mysqld.sock" marionette))
|
||||
|
||||
(test-eq "create database"
|
||||
0
|
||||
(marionette-eval
|
||||
|
|
Loading…
Reference in a new issue