mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Give time to allow node to set its ll address
Set a delay of three seconds at the beginning of the test. Otherwise, the node will send a neighbour solicitation with a blank link local address, it won't receive a reply, and the test will fail.
This commit is contained in:
parent
102b0ed151
commit
b320dd7909
@ -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