Skip to content

Commit

Permalink
Fixed test when many storage pools
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Nov 20, 2017
1 parent 3d26898 commit 2f6adf2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/vm/40_volumes.t
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,11 @@ sub test_domain_swap {
sub test_search($vm_name) {
my $vm = rvd_back->search_vm($vm_name);

my $file_old = $vm->search_volume_path("file.iso");
unlink $file_old if -e $file_old;

$vm->default_storage_pool_name('default');

my $file_out = $vm->dir_img."/file.iso";

open my $out,">",$file_out or do {
Expand Down

0 comments on commit 2f6adf2

Please sign in to comment.