[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: python-asyncssh: Disable flaky connection tests.
From: |
guix-commits |
Subject: |
01/03: gnu: python-asyncssh: Disable flaky connection tests. |
Date: |
Sun, 8 Dec 2024 07:32:51 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit f2ad73507b9a313024893e837aa11774f61b273f
Author: Roman Scherer <roman@burningswell.com>
AuthorDate: Sat Dec 7 19:00:20 2024 +0100
gnu: python-asyncssh: Disable flaky connection tests.
* gnu/packages/ssh.scm (python-asyncssh): Disable flaky connection tests.
Change-Id: If99cc686679fd2c731f3d66a85abe23eff6f1234
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/ssh.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 1f33259246..a44976b598 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -833,7 +833,15 @@ shell services and remote host selection.")
;; TODO Test fails for unknown reason
(("(.+)async def test_confirm" all indent)
(string-append indent "@unittest.skip('disabled by guix')\n"
- indent "async def test_confirm")))))
+ indent "async def test_confirm")))
+ (substitute* "tests/test_connection.py"
+ ;; Tests fail with: asyncssh.misc.ConnectionLost: Connection
lost
+ (("(.+)async def test_get_server_host_key_proxy" all indent)
+ (string-append indent "@unittest.skip('disabled by guix')\n"
+ indent "async def
test_get_server_host_key_proxy"))
+ (("(.+)async def test_connect_reverse_proxy" all indent)
+ (string-append indent "@unittest.skip('disabled by guix')\n"
+ indent "async def
test_connect_reverse_proxy")))))
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?