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

refactor(tests): show messages

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