Delay a little longer after starting sim node (#879)

- To make travis check more stable
This commit is contained in:
Shu Chen
2016-10-26 01:50:10 +08:00
committed by Jonathan Hui
parent 1365d80749
commit b6adaaf758
+3 -3
View File
@@ -65,10 +65,10 @@ class Node:
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):
@@ -87,7 +87,7 @@ class Node:
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')))