Skip to content

Commit

Permalink
test pytest worker = 1 to avoid timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
wangguoteng.p committed Feb 13, 2023
1 parent 44dcf13 commit 735e7cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FORMAT_DIR ?= $(if ${RANGE_DIR},${RANGE_DIR},${DING_DIR})
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)

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

# Duration command
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[pytest]
timeout = 300
execution_timeout = 600
markers =
unittest
Expand Down

0 comments on commit 735e7cc

Please sign in to comment.