Remove unused ActiveJobs source

This commit is contained in:
Eelco Dolstra 2013-08-20 15:22:46 +02:00
parent 14e418cafa
commit edb88ef452
2 changed files with 1 additions and 3 deletions

View file

@ -604,8 +604,6 @@ sub makeQueries {
QUERY
);
makeSource("ActiveJobs$name", "select distinct project, jobset, job from Builds where isCurrent = 1 $constraint");
makeSource(
"LatestSucceeded$name",
<<QUERY

View file

@ -13,7 +13,7 @@ foreach my $source (@sources) {
my $title = "Basic select query for $source";
if ($source eq "SchemaVersion" || $source eq "NrBuilds") {
ok(scalar($db->resultset($source)->all) == 1, $title);
} elsif( $source !~ m/^(LatestSucceeded|JobStatus|ActiveJobs)/) {
} elsif( $source !~ m/^(LatestSucceeded|JobStatus)/) {
ok(scalar($db->resultset($source)->all) == 0, $title);
} else {
ok(scalar($db->resultset($source)->search({},{ bind => ["", "", ""] })) == 0, $title);