From 3750239c5f137f0825857a93d3ffd44ce79cfe43 Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Fri, 4 Jan 2019 15:43:57 +0100 Subject: [PATCH] pytests/utils: give kresd more time to TCP FIN --- tests/pytests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pytests/utils.py b/tests/pytests/utils.py index bfbd08584..dcdc14c21 100644 --- a/tests/pytests/utils.py +++ b/tests/pytests/utils.py @@ -100,7 +100,7 @@ def ping_alive(sock, msgid=None): def expect_kresd_close(rst_ok=False): with pytest.raises(BrokenPipeError, message="kresd didn't close the connection"): try: - time.sleep(0.05) # give kresd time to close connection with TCP FIN + time.sleep(0.2) # give kresd time to close connection with TCP FIN yield except ConnectionResetError: if rst_ok: -- 2.47.3