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
@ -430,6 +430,9 @@ data double PRECISION NULL
|
||||
(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 New Issue
Block a user