From f356202af8da32b1a7a6fbdce4e8d87b1be63aec Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Wed, 18 Jan 2012 16:11:54 +0000
Subject: [PATCH] qa: perform burnin with max/min mem from config

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 qa/qa_cluster.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/qa/qa_cluster.py b/qa/qa_cluster.py
index 662460073..e66219265 100644
--- a/qa/qa_cluster.py
+++ b/qa/qa_cluster.py
@@ -430,6 +430,8 @@ def TestClusterBurnin():
       # Run burnin
       cmd = [script,
              "--os=%s" % qa_config.get("os"),
+             "--minmem-size=%s" % qa_config.get(constants.BE_MINMEM),
+             "--maxmem-size=%s" % qa_config.get(constants.BE_MAXMEM),
              "--disk-size=%s" % ",".join(qa_config.get("disk")),
              "--disk-growth=%s" % ",".join(qa_config.get("disk-growth")),
              "--disk-template=%s" % disk_template]
-- 
GitLab