Skip to content

Commit

Permalink
[test] increase wait time for leader start (openthread#228)
Browse files Browse the repository at this point in the history
This commit increases the wait time for leader start. This is to
address the changes in behavior in Thread spec related to the
number of MLE Parent Request messages that device needs to send in
the first attach attempt before it can become leader.  The new design
requires a device to send a total of six Parent Request messages,
first two to routers followed by four to routers and REEDs, each
having its own corresponding wait time.
  • Loading branch information
abtink authored Apr 8, 2022
1 parent c139fd7 commit b52e58d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ start_daemon() {
sudo rm -rf ${OT_DAEMON_SETTINGS_PATH}
sudo "${OT_DAEMON}" -Iwpan0 -d7 -v "spinel+hdlc+uart://${NON_CCM_RCP}?forkpty-arg=1" > "${OT_DAEMON_LOG}" 2>&1 &

sleep 10
sleep 15

pidof ot-daemon || die "Failed to start ot-daemon"
}
Expand Down Expand Up @@ -227,7 +227,7 @@ form_network() {
sudo "${OT_CTL}" ifconfig up
sudo "${OT_CTL}" thread start

sleep 3
sleep 10

ot_ctl state
}
Expand Down

0 comments on commit b52e58d

Please sign in to comment.