mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #11371 from danpetry/tests/gnrc_sock_dns_timeout
tests/gnrc_sock_dns: Give time to allow node to set its ll address
This commit is contained in:
commit
f11d462b82
@ -13,6 +13,7 @@ import socket
|
||||
import sys
|
||||
import subprocess
|
||||
import threading
|
||||
import time
|
||||
|
||||
from scapy.all import DNS, DNSQR, DNSRR, Raw, raw
|
||||
from testrunner import run
|
||||
@ -274,6 +275,7 @@ def testfunc(child):
|
||||
tap = get_bridge(os.environ["TAP"])
|
||||
lladdr = get_host_lladdr(tap)
|
||||
|
||||
time.sleep(3)
|
||||
try:
|
||||
server = Server(family=socket.AF_INET6, type=socket.SOCK_DGRAM,
|
||||
bind_addr=lladdr + "%" + tap, bind_port=SERVER_PORT)
|
||||
|
Loading…
Reference in New Issue
Block a user