We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a33114 + 64ccff3 commit 7fc73e4Copy full SHA for 7fc73e4
features/FEATURE_LWIP/TESTS/mbedmicro-net/host_tests/udp_shotgun.py
@@ -20,6 +20,7 @@
20
import json
21
import random
22
import itertools
23
+import time
24
from sys import stdout
25
from threading import Thread
26
from SocketServer import BaseRequestHandler, UDPServer
@@ -42,6 +43,9 @@ def handle(self):
42
43
data = ''.join(map(chr, data))
44
sock.sendto(data, self.client_address)
45
46
+ # Sleep a tiny bit to compensate for local network
47
+ time.sleep(0.01)
48
+
49
50
class UDPEchoClientTest(BaseHostTest):
51
def __init__(self):
0 commit comments