Skip to content

Commit

Permalink
Delay a little longer after starting sim node (#879)
Browse files Browse the repository at this point in the history
- To make travis check more stable
  • Loading branch information
chshu authored and jwhui committed Oct 25, 2016
1 parent 1365d80 commit b6adaaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/scripts/thread-cert/node.py
Expand Up @@ -65,10 +65,10 @@ def __init_sim(self, nodeid):
cmd += ' %d' % nodeid
print ("%s" % cmd)

self.pexpect = pexpect.spawn(cmd, timeout=2)
self.pexpect = pexpect.spawn(cmd, timeout=4)

# Add delay to ensure that the process is ready to receive commands.
time.sleep(0.1)
time.sleep(0.2)


def __init_ncp_sim(self, nodeid):
Expand All @@ -87,7 +87,7 @@ def __init_ncp_sim(self, nodeid):
print ("%s" % cmd)

self.pexpect = pexpect.spawn(cmd, timeout=4)
time.sleep(0.1)
time.sleep(0.2)
self.pexpect.expect('spinel-cli >')
self.debug(int(os.getenv('DEBUG', '0')))

Expand Down

0 comments on commit b6adaaf

Please sign in to comment.