From 1a025f8c3ef763feef26ca342e53e1d3b368d9bb Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Thu, 22 Feb 2018 16:55:04 +0000 Subject: [PATCH] [tests] fix occasional failures in Cert_5_2_01_REEDAttach.py (#2577) This commit adds delay to allow routes to form between REED1 and Leader. --- tests/scripts/thread-cert/Cert_5_2_01_REEDAttach.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/scripts/thread-cert/Cert_5_2_01_REEDAttach.py b/tests/scripts/thread-cert/Cert_5_2_01_REEDAttach.py index 43e56eb92..11c0344bd 100755 --- a/tests/scripts/thread-cert/Cert_5_2_01_REEDAttach.py +++ b/tests/scripts/thread-cert/Cert_5_2_01_REEDAttach.py @@ -137,6 +137,8 @@ class Cert_5_2_01_REEDAttach(unittest.TestCase): msg = router1_messages.next_coap_message('2.04') msg.assertSentToDestinationAddress(reed1_ipv6_address) + self.simulator.go(config.MAX_ADVERTISEMENT_INTERVAL) + # 9 LEADER: Verify connectivity by sending an ICMPv6 Echo Request to REED1 for addr in self.nodes[REED1].get_addrs(): if addr[0:4] != 'fe80':