]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
lib/oeqa: sshcontrol: fix false timeout failures
authorStefan Stanacar <stefanx.stanacar@intel.com>
Fri, 17 Jan 2014 15:57:47 +0000 (17:57 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Jan 2014 07:18:01 +0000 (07:18 +0000)
commit3a22b5df5aa38a98b35bc2931d646a2b7702fbec
treefed1ac86d2e7e8448a85c746635c35f9488acca8
parentaaa3644a75a7698604102b3b68d40b4dcc02df1d
lib/oeqa: sshcontrol: fix false timeout failures

Ocasionally AB shows odd false fails like:
http://autobuilder.yoctoproject.org/main/builders/nightly-arm/builds/1/steps/Running%20Sanity%20Tests/logs/stdio
This should fix that by checking for eof instead of
polling the return code of the ssh process, because the process
might still be there.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/sshcontrol.py