Francois Gouget : testbot: Only schedule active VMs.
Alexandre Julliard
julliard at winehq.org
Tue Dec 17 10:10:03 CST 2013
Module: tools
Branch: master
Commit: 9778857dac6c0932745b8796adcffb047fced233
URL: http://source.winehq.org/git/tools.git/?a=commit;h=9778857dac6c0932745b8796adcffb047fced233
Author: Francois Gouget <fgouget at 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,
More information about the wine-cvs
mailing list