From 119d5b2a62759883832108e67fb91b5255024932 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Wed, 1 Feb 2017 21:03:48 -0500 Subject: [PATCH] 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: Cleber Rosa --- selftests/functional/test_basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selftests/functional/test_basic.py b/selftests/functional/test_basic.py index af371ad8..00e8a1b0 100644 --- a/selftests/functional/test_basic.py +++ b/selftests/functional/test_basic.py @@ -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) -- GitLab