Skip to content

Commit 735e7cc

Browse files
author
wangguoteng.p
committed
test pytest worker = 1 to avoid timeout
1 parent 44dcf13 commit 735e7cc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ FORMAT_DIR ?= $(if ${RANGE_DIR},${RANGE_DIR},${DING_DIR})
1010
PLATFORM_TEST_DIR ?= $(if ${RANGE_DIR},${RANGE_DIR},${DING_DIR}/entry/tests/test_serial_entry.py ${DING_DIR}/entry/tests/test_serial_entry_onpolicy.py)
1111

1212
# Workers command
13-
WORKERS ?= 2
13+
WORKERS ?= 1
1414
WORKERS_COMMAND := $(if ${WORKERS},-n ${WORKERS} --dist=loadscope,)
1515

1616
# Duration command

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[pytest]
2+
timeout = 300
23
execution_timeout = 600
34
markers =
45
unittest

0 commit comments

Comments
 (0)