Skip to content

Commit 5edf4b0

Browse files
fix: Switch mysql log string to use regex (#2976)
Switch log string to use regex Signed-off-by: Felix Wang <[email protected]>
1 parent 26f6b69 commit 5edf4b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/python/tests/integration/registration/test_sql_registry.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ def mysql_registry():
8787

8888
container.start()
8989

90-
log_string_to_wait_for = "/usr/sbin/mysqld: ready for connections. Version: '8.0.29' socket: '/var/run/mysqld/mysqld.sock' port: 3306"
90+
# The log string uses '8.0.*' since the version might be changed as new Docker images are pushed.
91+
log_string_to_wait_for = "/usr/sbin/mysqld: ready for connections. Version: '8.0.*' socket: '/var/run/mysqld/mysqld.sock' port: 3306"
9192
waited = wait_for_logs(
9293
container=container,
9394
predicate=log_string_to_wait_for,

0 commit comments

Comments
 (0)