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

wip: queue only from previous requests

parent 7a6d87ff
......@@ -782,7 +782,7 @@ sub _validate_start_domain($self) {
next if !$req;
next if $req->at_time;
next if $command eq 'start' && !$req->after_request();
$self->after_request($req->id);
$self->after_request($req->id) if $req->id < $self->id;
}
}
......@@ -798,7 +798,7 @@ sub _validate_change_hardware($self) {
return if !$id_domain;
my $req = $self->_search_request('%_hardware', id_domain => $id_domain);
$self->after_request($req->id) if $req;
$self->after_request($req->id) if $req && $req->id < $self->id;
}
sub _validate_create_domain($self) {
......
......@@ -614,8 +614,6 @@ for my $vm_name (vm_names() ) {
}
}
}
test_add_disk_boot_order($vm);
test_cdrom($vm);
for my $iso_name ('Alpine%64 bits', 'Alpine%32 bits') {
......
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