Skip to content

Commit b04f774

Browse files
authored
Solve pytest timeout problem. (#1540)
1 parent e7efbe5 commit b04f774

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ upload_dir = build/sphinx/html
251251
testpaths = test
252252
addopts = -p no:warnings --dist loadgroup --numprocesses auto
253253
asyncio_mode = auto
254+
timeout = 40
254255

255256

256257
[coverage:run]

test/transport/test_basic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def test_connection_made(self):
7171
base.cb_connection_made.assert_called_once()
7272
base.cb_connection_lost.assert_not_called()
7373
base.cb_handle_data.assert_not_called()
74+
base.close()
7475

7576
def test_connection_lost(self):
7677
"""Test properties."""

0 commit comments

Comments
 (0)