Skip to content

Commit

Permalink
Lower time taken for test_handshake_over_terrible_network
Browse files Browse the repository at this point in the history
  • Loading branch information
A5rocks committed Feb 21, 2023
1 parent 2b9c71b commit 9afa0f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trio/tests/test_dtls.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ async def test_smoke(ipv6):

@slow
async def test_handshake_over_terrible_network(autojump_clock):
HANDSHAKES = 1000
# PyPy is not fast enough
HANDSHAKES = 500 if sys.implementation.name == 'pypy' else 1000
r = random.Random(0)
fn = FakeNet()
fn.enable()
Expand Down

0 comments on commit 9afa0f4

Please sign in to comment.