Commit 6ec74813 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

Skip free mem test if too many memory available

parent 78c2a08b
......@@ -88,6 +88,12 @@ SKIP: {
my $freemem = _check_free_memory();
my $n_domains = int($freemem)+2;
if ($n_domains > 5 ) {
my $msg = "Skipped freemem check, too many memory in this host";
skip($msg,10);
next;
}
$freemem =~ s/(\d+\.\d)\d+/$1/;
diag("Checking it won't start more than $n_domains domains with $freemem free memory");
......
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