Allow the MySQL test to pass on Docker
This commit is contained in:
parent
d603484180
commit
254cc0b801
|
@ -11,7 +11,7 @@ testService {
|
|||
|
||||
tests = {instanceName, instance, runtimeDir, forceDisableUserChange, ...}:
|
||||
# Make a special exception for the first instance running in privileged mode. It should be connectible with the default settings
|
||||
if instanceName == "mysql" && !forceDisableUserChange then ''
|
||||
if instanceName == "mysql" && !forceDisableUserChange && runtimeDir == "/var/run" then ''
|
||||
machine.succeed("echo 'show databases;' | mysql >&2")
|
||||
'' else ''
|
||||
machine.succeed(
|
||||
|
|
Loading…
Reference in New Issue