Skip to content

Commit

Permalink
Add flaky marker on test_async_keepalive_ping
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed Feb 9, 2024
1 parent 828e8ff commit 8b1aac2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ extend-select = ["I", "UP"]

[tool.pytest.ini_options]
addopts = "--cov=httpx_ws/ --cov-report=term-missing"
asyncio_mode = "strict"

[tool.hatch]

Expand All @@ -28,7 +27,8 @@ dependencies = [
"uvicorn[standard]",
"mkdocs-material",
"mkdocstrings[python]",
"trio"
"trio",
"flaky"
]

[tool.hatch.envs.default.scripts]
Expand Down
1 change: 1 addition & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,7 @@ def close(self) -> None:
) as websocket_session:
websocket_session.receive()

@pytest.mark.flaky
async def test_async_keepalive_ping(self):
class MockAsyncNetworkStream(AsyncNetworkStream):
def __init__(self) -> None:
Expand Down

0 comments on commit 8b1aac2

Please sign in to comment.