Remove unused ActiveJobs source
This commit is contained in:
parent
14e418cafa
commit
edb88ef452
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue