tests: mysql: Wait for the socket before running queries.
* gnu/tests/databases.scm (run-mysql-test): Add socket test.master
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
|
||||
|
|
Reference in New Issue