未验证 提交 3ae4f6c2 编写于 作者: X Xu Han 提交者: GitHub

Merge pull request #1445 from yanan-fu/balloon_check

balloon_check: Set "gcompare_threshold" to int type
......@@ -72,7 +72,7 @@ class BallooningTest(MemoryBaseTest):
error_context.context("Check memory status %s" % step, logging.info)
mmem = self.get_ballooned_memory()
gmem = self.get_memory_status()
gcompare_threshold = self.params.get("guest_compare_threshold", 100)
gcompare_threshold = int(self.params.get("guest_compare_threshold", 100))
# for windows illegal test:set windows guest balloon in (1,100),free memory will less than 50M
if ballooned_mem >= self.ori_mem - 100:
timeout = float(self.params.get("login_timeout", 600))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册