Skip to content

Commit 21fef51

Browse files
Test
1 parent 5e5c563 commit 21fef51

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/mysql_vm_helpers.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import shutil
1212
import subprocess
1313
import tempfile
14+
import time
1415
import typing
1516
from collections.abc import Iterable
1617
from typing import Any
@@ -433,12 +434,12 @@ def wait_until_mysql_connection(self, check_port: bool = True) -> None:
433434
Retry every 5 seconds for 120 seconds if there is an issue obtaining a connection.
434435
"""
435436
logger.debug("Waiting for MySQL connection")
436-
437-
if not os.path.exists(MYSQLD_SOCK_FILE):
438-
raise MySQLServiceNotRunningError("MySQL socket file not found")
439-
440-
if check_port and not self.check_mysqlcli_connection():
441-
raise MySQLServiceNotRunningError("Connection with mysqlcli not possible")
437+
time.sleep(60)
438+
# if not os.path.exists(MYSQLD_SOCK_FILE):
439+
# raise MySQLServiceNotRunningError("MySQL socket file not found")
440+
#
441+
# if check_port and not self.check_mysqlcli_connection():
442+
# raise MySQLServiceNotRunningError("Connection with mysqlcli not possible")
442443

443444
logger.debug("MySQL connection possible")
444445

0 commit comments

Comments
 (0)