Browse Source

test_payment_race: increase delay

master
ThomasV 5 years ago
parent
commit
5175a97671
  1. 2
      electrum/tests/test_lnpeer.py

2
electrum/tests/test_lnpeer.py

@ -519,7 +519,7 @@ class TestPeer(ElectrumTestCase):
) )
p2.maybe_send_commitment = _maybe_send_commitment2 p2.maybe_send_commitment = _maybe_send_commitment2
# sleep a bit so that they both receive msgs sent so far # sleep a bit so that they both receive msgs sent so far
await asyncio.sleep(0.1) await asyncio.sleep(0.2)
# now they both send COMMITMENT_SIGNED # now they both send COMMITMENT_SIGNED
p1.maybe_send_commitment(alice_channel) p1.maybe_send_commitment(alice_channel)
p2.maybe_send_commitment(bob_channel) p2.maybe_send_commitment(bob_channel)

Loading…
Cancel
Save