Skip to content

Commit

Permalink
Fix mist in mem test doc module
Browse files Browse the repository at this point in the history
Signed-off-by: Luyao Huang <[email protected]>
  • Loading branch information
LuyaoHuang committed Nov 13, 2019
1 parent f288dff commit e57a892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/mem_test_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def mist_host_hugepage(name, func, params, env):
params.doc_logger.info(RESULT + "error: Failed to start domain %s" % params.guest_name)
params.doc_logger.info("error: internal error hugepages are disabled by administrator config")
raise MistDeadEndException()
return Mist({'active': (start, end)}, mist_host_hugepage)
return Mist({'active': (start, end)}, None, mist_host_hugepage)


def guest_hugepage_settings(params, env):
Expand Down Expand Up @@ -159,7 +159,7 @@ def restart_and_memtune(name, func, params, env):
func(params, env)
raise MistClearException

return Mist({"x": (start, end)}, restart_and_memtune)
return Mist({"x": (start, end)}, None, restart_and_memtune)


def virsh_memtune_conf(params, env):
Expand Down

0 comments on commit e57a892

Please sign in to comment.