Skip to content

Commit

Permalink
Do not raise on leaked websockets (#7199)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjetter authored Oct 27, 2022
1 parent 4210cc8 commit 581b603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/comm/tests/test_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async def test_http_and_comm_server(dashboard, protocol, security, port):
"protocol,sni",
[("ws://", True), ("ws://", False), ("wss://", True), ("wss://", False)],
)
@gen_test()
@gen_test(clean_kwargs={"instances": False})
async def test_connection_made_with_extra_conn_args(protocol, sni):
if protocol == "ws://":
security = Security(
Expand All @@ -189,7 +189,7 @@ async def test_connection_made_with_extra_conn_args(protocol, sni):
await comm.close()


@gen_test()
@gen_test(clean_kwargs={"instances": False})
async def test_connection_made_with_sni():
xfail_ssl_issue5601()
pytest.importorskip("cryptography")
Expand Down

0 comments on commit 581b603

Please sign in to comment.