diff --git a/api/tests/integration_tests/vdb/oceanbase/check_oceanbase_ready.py b/api/tests/integration_tests/vdb/oceanbase/check_oceanbase_ready.py index 180ad57a15..94a51292ff 100644 --- a/api/tests/integration_tests/vdb/oceanbase/check_oceanbase_ready.py +++ b/api/tests/integration_tests/vdb/oceanbase/check_oceanbase_ready.py @@ -3,7 +3,7 @@ import time import pymysql -def check_ocean_ready() -> bool: +def check_oceanbase_ready() -> bool: try: connection = pymysql.connect( host="localhost", @@ -27,7 +27,7 @@ def main(): is_oceanbase_ready = False for attempt in range(max_attempts): try: - is_oceanbase_ready = check_ocean_ready() + is_oceanbase_ready = check_oceanbase_ready() except Exception as e: print(f"Oceanbase is not ready. Exception: {e}") is_oceanbase_ready = False