Commit 7b134ddb authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(tests): show messages

parent 01f19a7b
use warnings; use warnings;
use strict; use strict;
use Data::Dumper;
use Test::More; use Test::More;
use HTML::Lint; use HTML::Lint;
......
...@@ -1089,6 +1089,7 @@ sub test_fill_memory($vm, $node, $migrate) { ...@@ -1089,6 +1089,7 @@ sub test_fill_memory($vm, $node, $migrate) {
eval { $clone->start(user_admin) }; eval { $clone->start(user_admin) };
$error = $@; $error = $@;
like($error, qr/(^$|No free memory)/); like($error, qr/(^$|No free memory)/);
exit if $error && $error !~ /No free memory/;
last if $error; last if $error;
$nodes{$clone->_vm->name}++; $nodes{$clone->_vm->name}++;
......
Markdown is supported
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