summaryrefslogtreecommitdiff
path: root/tests/autotest-remote-server.pl
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2011-07-24 06:19:57 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2011-07-24 06:19:57 +0000
commit4d605eb865da2f9b973fc6951a176d20cf8b531a (patch)
tree6473c4f2ae23a0aff804aa56dbe16f9adc712d88 /tests/autotest-remote-server.pl
parent414ad96d7a9042140776912b6a7cef917864e874 (diff)
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
Diffstat (limited to 'tests/autotest-remote-server.pl')
-rw-r--r--tests/autotest-remote-server.pl6
1 files changed, 6 insertions, 0 deletions
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);
+}