From e73882255fb551ba890d92735ccc05677ed4ac33 Mon Sep 17 00:00:00 2001 From: Rongli Sun Date: Tue, 17 Nov 2020 14:32:40 +0800 Subject: [PATCH] [tests] fix tun-realm-local-multicast.exp (#5821) This commit introduces short wait time per new router to allow link/route establishment. --- tests/scripts/expect/tun-realm-local-multicast.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/scripts/expect/tun-realm-local-multicast.exp b/tests/scripts/expect/tun-realm-local-multicast.exp index 2e629a7fc..51d022452 100755 --- a/tests/scripts/expect/tun-realm-local-multicast.exp +++ b/tests/scripts/expect/tun-realm-local-multicast.exp @@ -66,6 +66,7 @@ send "thread start\n" expect "Done" wait_for "state" "router" +sleep 3 spawn_node 3 cli @@ -85,6 +86,7 @@ send "thread start\n" expect "Done" wait_for "state" "router" +sleep 4 set extaddr3 [get_extaddr] @@ -113,7 +115,6 @@ wait_for "state" "child" set mleid4 [get_mleid] switch_node 1 -sleep 10 send "ping ${mleid4}\n" expect "Done"