Skip to content

Commit

Permalink
test: extend test timeout limits and disable CI fail-fast
Browse files Browse the repository at this point in the history
  • Loading branch information
WSH032 committed Nov 23, 2023
1 parent 951daa9 commit 205b49b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest", "windows-latest"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ async def test_ws_proxy(self, tool_4_test_fixture: Tool4TestFixture) -> None:
# FAILED test_ws_proxy[wsproto] - assert <CloseReason.NORMAL_CLOSURE: 1000> == 1011

# FIXME: 调查为什么收到关闭代码需要40s
@pytest.mark.timeout(60)
@pytest.mark.timeout(60 * 5)
@pytest.mark.anyio()
@pytest.mark.parametrize("ws_backend", WS_BACKENDS_NEED_BE_TESTED)
async def test_target_server_shutdown_abnormally(
Expand Down

0 comments on commit 205b49b

Please sign in to comment.