From ae70a374c982e592c0a44a6c543d15b86b51b1cf Mon Sep 17 00:00:00 2001 From: yanpliu Date: Thu, 28 Mar 2024 21:59:25 -0400 Subject: [PATCH] extend the timeout for poor network --- robottelo/utils/virtwho.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/robottelo/utils/virtwho.py b/robottelo/utils/virtwho.py index e159a487394..b1cac0012ca 100644 --- a/robottelo/utils/virtwho.py +++ b/robottelo/utils/virtwho.py @@ -210,7 +210,7 @@ def check_message_in_rhsm_log(message): """Check the message exist in /var/log/rhsm/rhsm.log""" wait_for( lambda: 'Host-to-guest mapping being sent to' in get_rhsm_log(), - timeout=10, + timeout=20, delay=2, ) logs = get_rhsm_log() @@ -230,7 +230,7 @@ def _get_hypervisor_mapping(hypervisor_type): """ wait_for( lambda: 'Host-to-guest mapping being sent to' in get_rhsm_log(), - timeout=10, + timeout=20, delay=2, ) logs = get_rhsm_log()