Skip to content

Commit 36b2313

Browse files
Merge pull request #85 from Thomascountz/thomascountz/fix_default_healthchecks_for_podman
Remove space from MySQL healthcheck default options
2 parents f7a5305 + aabd91f commit 36b2313

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mysql/lib/testcontainers/mysql.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def _configure
127127
end
128128

129129
def _default_healthcheck_options
130-
{test: ["/usr/bin/mysql", "--protocol=TCP", "--port=#{port}", "--user=#{username}", "--password=#{password}", database, "--silent", "--execute=SELECT 1;"], interval: 1, timeout: 5, retries: 5}
130+
{test: ["/usr/bin/mysql", "--protocol=TCP", "--port=#{port}", "--user=#{username}", "--password=#{password}", database, "--silent", "--execute=SELECT(1);"], interval: 1, timeout: 5, retries: 5}
131131
end
132132
end
133133
end

0 commit comments

Comments
 (0)