From 7869b1bf949461fa1f3a2e3307d2e74d10023fb7 Mon Sep 17 00:00:00 2001 From: Jonathan Daniel Date: Mon, 13 Nov 2023 12:00:48 +0200 Subject: [PATCH] [Tests] Fix frames client getter [1.5.x] Fix the backport introduced in #4564. This method was changed in 1.6.x and does not work in 1.5.x the same. I tested it locally with 1.5.x, and it works now. --- tests/system/model_monitoring/test_model_monitoring.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/system/model_monitoring/test_model_monitoring.py b/tests/system/model_monitoring/test_model_monitoring.py index 10d4a6bf70e1..f08812da12bc 100644 --- a/tests/system/model_monitoring/test_model_monitoring.py +++ b/tests/system/model_monitoring/test_model_monitoring.py @@ -1004,8 +1004,9 @@ def _log_model(self) -> str: @classmethod def _test_v3io_tsdb_record(cls) -> None: - frames = ModelMonitoringWriter._get_v3io_frames_client( - v3io_container="users", + frames = mlrun.utils.v3io_clients.get_frames_client( + address=mlrun.mlconf.v3io_framesd, + container="users", ) df: pd.DataFrame = frames.read( backend=_TSDB_BE,