me
/
guix
Archived
1
0
Fork 0

tests: mysql: Wait for the socket before running queries.

* gnu/tests/databases.scm (run-mysql-test): Add socket test.
master
Marius Bakke 2022-10-30 02:39:48 +02:00
parent fe0a1b49c1
commit 96efebed24
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 3 additions and 0 deletions

View File

@ -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