Try to avoid hanging tests on CI
import logging
+import time
+
from robot.api import logger
@@ -8,8 +10,10 @@ MSG = 'A rather long message that is slow to write on the disk. ' * 10000
def rf_logger():
while True:
logger.info(MSG)
+ time.sleep(0) # give time for other threads
def python_logging():
while True:
logging.info(MSG)
+ time.sleep(0) # give time for other threads
