Skip to content

Commit e5cd42f

Browse files
committed
Try to avoid hanging tests on CI
1 parent 7b2f1a4 commit e5cd42f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

atest/testdata/running/timeouts_with_logging.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import logging
2+
import time
3+
24
from robot.api import logger
35

46

@@ -8,8 +10,10 @@
810
def rf_logger():
911
while True:
1012
logger.info(MSG)
13+
time.sleep(0) # give time for other threads
1114

1215

1316
def python_logging():
1417
while True:
1518
logging.info(MSG)
19+
time.sleep(0) # give time for other threads

0 commit comments

Comments
 (0)