Commit 62766794 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#53] remove test domains at freemem check

parent 0a18b7f3
......@@ -90,11 +90,17 @@ SKIP: {
diag("Checking it won't start no more than $n_domains domains with $freemem free memory");
my @domains;
for ( 0 .. $n_domains ) {
diag("Creating domain $_");
test_new_domain($vm) or last;
my $domain = test_new_domain($vm) or last;
push @domains,($domain) if $domain;
}
for (@domains) {
$_->shutdown_now($USER);
$_->remove($USER);
}
};
remove_old_domains();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment