Skip to content

Commit 8b03250

Browse files
committed
test(harbor): require released log wait fix
Require Harbor 1.0.3 for tests and switch the MySQL container readiness check back to the intended log-pattern wait now that the stderr capture fix is released.
1 parent 6a9c273 commit 8b03250

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
1717
[compat]
1818
DBInterface = "2.5"
1919
DecFP = "0.4.9, 0.4.10, 1"
20+
Harbor = "1.0.3"
2021
MariaDB_Connector_C_jll = "3.1.12"
2122
OpenSSL_jll = "3"
2223
Parsers = "0.3, 1, 2"

test/runtests.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ function with_mysql(f::Function)
9090
tag=tag,
9191
ports=Dict(3306 => host_port),
9292
environment=env,
93-
# Harbor's port wait is enough here because we also poll for a real client connection below.
94-
wait_strategy=(port=3306,),
93+
wait_strategy=(pattern="ready for connections",),
9594
wait_timeout=120.0,
9695
) do _
9796
cfg = MySQLTestConfig("127.0.0.1", host_port, MYSQL_TEST_USER, MYSQL_TEST_PASSWORD)

0 commit comments

Comments
 (0)