From b379edf3a2981c72c3ef12df501285bc850c6187 Mon Sep 17 00:00:00 2001
From: Vartan Babayan <v.babayan@picodata.io>
Date: Tue, 10 Dec 2024 20:47:39 +0300
Subject: [PATCH] test: remove xfail from md5 connection test

---
 test/int/test_cli_connect.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/test/int/test_cli_connect.py b/test/int/test_cli_connect.py
index cd8975d7b1..37cf44474e 100644
--- a/test/int/test_cli_connect.py
+++ b/test/int/test_cli_connect.py
@@ -193,7 +193,6 @@ def test_connect_auth_type_wrong(i1: Instance):
     cli.expect_exact(pexpect.EOF)
 
 
-@pytest.mark.xfail(reason="not implemeted yet")
 def test_connect_auth_type_md5(i1: Instance):
     cli = pexpect.spawn(
         command=i1.binary_path,
@@ -206,7 +205,11 @@ def test_connect_auth_type_md5(i1: Instance):
     cli.expect_exact("Enter password for testuser: ")
     cli.sendline("Testpa55")
 
-    cli.expect_exact("picosql :)")
+    cli.expect_exact(
+        f'Connected to interactive console by address "{i1.host}:{i1.port}" under "testuser" user'
+    )
+    cli.expect_exact("type '\\help' for interactive help")
+    cli.expect_exact("sql> ")
 
 
 @dataclass
-- 
GitLab