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

[test] removed more testing messages

parent 521a449d
......@@ -98,11 +98,11 @@ SKIP: {
$freemem =~ s/(\d+\.\d)\d+/$1/;
diag("Checking it won't start more than $n_domains domains with $freemem free memory");
# diag("Checking it won't start more than $n_domains domains with $freemem free memory");
my @domains;
for ( 0 .. $n_domains ) {
diag("Creating domain $_");
# diag("Creating domain $_");
my $domain = test_new_domain($vm) or last;
push @domains,($domain) if $domain;
}
......
......@@ -59,7 +59,7 @@ sub test_remove_domain {
$domain = $RVD_BACK->search_domain($name,1);
if ($domain) {
diag("Removing domain $name");
# diag("Removing domain $name");
$domain->remove($USER);
}
$domain = $RVD_BACK->search_domain($name);
......
......@@ -41,7 +41,7 @@ sub test_remove_domain {
$domain = $RAVADA->search_domain($name,1);
if ($domain) {
diag("Removing domain $name");
# diag("Removing domain $name");
my @files_base = $domain->list_files_base;
eval { $domain->remove(user_admin()) };
ok(!$@ , "Error removing domain $name : $@") ;
......@@ -62,7 +62,7 @@ sub test_new_domain_from_iso {
test_remove_domain($name);
diag("Creating domain $name from iso");
# diag("Creating domain $name from iso");
my $domain;
eval { $domain = $RAVADA->create_domain(name => $name
, id_iso => search_id_iso('alpine')
......@@ -160,7 +160,7 @@ sub test_new_domain_from_base {
my $name = $DOMAIN_NAME_SON;
test_remove_domain($name);
diag("Creating domain $name from ".$base->name);
# diag("Creating domain $name from ".$base->name);
my $domain;
eval { $domain = $RAVADA->create_domain(
name => $name
......@@ -257,7 +257,7 @@ sub remove_volume {
my $file = shift;
return if !-e $file;
diag("removing old $file");
# diag("removing old $file");
$RAVADA->remove_volume($file);
ok(! -e $file,"file $file not removed" );
}
......
......@@ -33,7 +33,7 @@ sub test_remove_domain {
$domain = $RAVADA->search_domain($name,1);
if ($domain) {
diag("Removing domain $name");
# diag("Removing domain $name");
$domain->remove($user);
}
$domain = $RAVADA->search_domain($name,1);
......
......@@ -54,7 +54,7 @@ sub add_description {
sub test_description {
my $vm_name = shift;
diag("Testing add description $vm_name");
# diag("Testing add description $vm_name");
my $vm =rvd_back->search_vm($vm_name);
my $domain = test_create_domain($vm_name);
......
......@@ -28,7 +28,7 @@ sub test_create_domain {
ok($vm,"I can't find VM $vm_name") or return;
my $name = new_domain_name();
diag("Test create domain $name");
# diag("Test create domain $name");
my $domain;
eval { $domain = $vm->create_domain(name => $name
......@@ -59,7 +59,7 @@ sub test_files_base {
sub test_prepare_base_active {
my $vm_name = shift;
diag("Test prepare base active $vm_name");
# diag("Test prepare base active $vm_name");
my $domain = test_create_domain($vm_name);
......@@ -82,7 +82,7 @@ sub test_prepare_base_active {
sub test_prepare_base {
my $vm_name = shift;
my $domain = shift;
diag("Test prepare base $vm_name");
# diag("Test prepare base $vm_name");
my $vm = rvd_back->search_vm($vm_name);
ok($vm,"I can't find VM $vm_name") or return;
......@@ -171,7 +171,7 @@ sub add_description {
my $domain = shift;
my $description = shift;
my $name = $domain->name;
diag("Add description $name");
# diag("Add description $name");
$domain->description($description);
}
......@@ -179,7 +179,7 @@ sub add_description {
sub test_description {
my $vm_name = shift;
diag("Testing description $vm_name");
# diag("Testing description $vm_name");
my $vm =rvd_back->search_vm($vm_name);
my $domain = test_create_domain($vm_name);
......
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