Module: tools Branch: master Commit: 9778857dac6c0932745b8796adcffb047fced233 URL: http://source.winehq.org/git/tools.git/?a=commit;h=9778857dac6c0932745b8796a...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Dec 17 11:01:05 2013 +0100
testbot: Only schedule active VMs.
The retired and deleted VMs should be ignored, even if they look like they are running.
---
testbot/lib/WineTestBot/Jobs.pm | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/testbot/lib/WineTestBot/Jobs.pm b/testbot/lib/WineTestBot/Jobs.pm index e9a5119..94eae04 100644 --- a/testbot/lib/WineTestBot/Jobs.pm +++ b/testbot/lib/WineTestBot/Jobs.pm @@ -432,6 +432,7 @@ sub ScheduleOnHost($$) my ($SortedJobs, $Hypervisors) = @_;
my $HostVMs = CreateVMs(); + $HostVMs->FilterEnabledRole(); $HostVMs->FilterHypervisor($Hypervisors);
# Count the VMs that are 'active', that is, that use resources on the host,