diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2011-07-24 06:19:57 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2011-07-24 06:19:57 +0000 |
commit | 4d605eb865da2f9b973fc6951a176d20cf8b531a (patch) | |
tree | 6473c4f2ae23a0aff804aa56dbe16f9adc712d88 /tests | |
parent | 414ad96d7a9042140776912b6a7cef917864e874 (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')
-rw-r--r-- | tests/autotest-remote-server.pl | 6 |
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); +} |