提交 119d5b2a 编写于 作者: C Cleber Rosa 提交者: Amador Pahim

Selftests: fix test that is still collecting sysinfo

There's one functional test that is missing "--sysinfo=off".  I
happened to find this because lspci on my system hangs when running
under X.  That test would timeout at the sysinfo collection.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 c0cc2618
......@@ -505,8 +505,8 @@ class RunnerOperationTest(unittest.TestCase):
@unittest.skipIf(not READ_BINARY, "read binary not available.")
def test_read(self):
os.chdir(basedir)
cmd = "./scripts/avocado run --job-results-dir %s %s" % (self.tmpdir,
READ_BINARY)
cmd = "./scripts/avocado run --sysinfo=off --job-results-dir %s %s"
cmd %= (self.tmpdir, READ_BINARY)
result = process.run(cmd, timeout=10, ignore_status=True)
self.assertLess(result.duration, 8, "Duration longer than expected."
"\n%s" % result)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册