Verified Commit 55bcefc4 authored by Karel Koci's avatar Karel Koci 🤘
Browse files

nsfarm/board: wait for boot longer

This is to support HBD that right now boots way longer.
Waiting four minutes for boot is very long time but for testing it is
reasonable to margin for boot.
parent c385d63a
...@@ -86,7 +86,7 @@ class Board(abc.ABC): ...@@ -86,7 +86,7 @@ class Board(abc.ABC):
uboot.run('setenv serverip 192.168.1.1') uboot.run('setenv serverip 192.168.1.1')
self._board_bootup(uboot) self._board_bootup(uboot)
# Wait for bootup # Wait for bootup
self._pexpect.expect_exact(["Router Turris successfully started.", ], timeout=120) self._pexpect.expect_exact(["Router Turris successfully started.", ], timeout=240)
# Note Shell sends new line which opens terminal for it # Note Shell sends new line which opens terminal for it
shell = cli.Shell(self._pexpect) shell = cli.Shell(self._pexpect)
shell.run("sysctl -w kernel.printk='0 4 1 7'") # disable kernel print to not confuse console flow shell.run("sysctl -w kernel.printk='0 4 1 7'") # disable kernel print to not confuse console flow
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment