提交 34792490 编写于 作者: S Sitong Liu

multi_queues_test: fix TypeError for python3

Signed-off-by: NSitong Liu <siliu@redhat.com>
上级 a0ce8329
......@@ -3,9 +3,9 @@
no smp2
only Linux
only virtio_net
no RHEL.3, RHEL.4, RHEL.5
no RHEL.6.0, RHEL.6.1, RHEL.6.2, RHEL.6.3, RHEL.6.4, RHEL.6.5
no Host_RHEL.m5, Host_RHEL.m6
no RHEL.3 RHEL.4 RHEL.5
no RHEL.6.0 RHEL.6.1 RHEL.6.2 RHEL.6.3 RHEL.6.4 RHEL.6.5
no Host_RHEL.m5 Host_RHEL.m6
type = multi_queues_test
queues = 4
kill_vm = yes
......
......@@ -140,7 +140,7 @@ def run(test, params, env):
top_cmd = r"top -n 1 -p %s -b" % ",".join(map(str,
vhost_threads))
top_info = process.system_output(top_cmd, shell=True)
top_info = process.system_output(top_cmd, shell=True).decode()
logging.info("%s", top_info)
vhost_re = re.compile(r"S(\s+0.0+){2}.*vhost-\d+[\d|+]")
sleep_vhost_thread = len(vhost_re.findall(top_info, re.I))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册