From 4d605eb865da2f9b973fc6951a176d20cf8b531a Mon Sep 17 00:00:00 2001
From: "arseny.kapoulkine"
 <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>
Date: Sun, 24 Jul 2011 06:19:57 +0000
Subject: tests: Disabled VM shutdown/startup overlap to decrease peak memory
 consumption

git-svn-id: http://pugixml.googlecode.com/svn/trunk@814 99668b35-9821-0410-8761-19e4c4f06640
---
 tests/autotest-remote-server.pl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/autotest-remote-server.pl b/tests/autotest-remote-server.pl
index a8410a1..811c3e8 100644
--- a/tests/autotest-remote-server.pl
+++ b/tests/autotest-remote-server.pl
@@ -25,3 +25,9 @@ close LOG;
 
 $client->close();
 $server->close();
+
+# wait for vm shutdown to decrease peak memory consumption
+while (`vboxmanage showvminfo $vm` !~ /State:\s+powered off/)
+{
+    sleep(1);
+}
-- 
cgit v1.2.3