upgrade_check does not correctly determine active tasks
This redmine is being opened based upon a downstream finding with katello:upgrade_check.
The issue raised is:
The script currently checks of the number of running tasks is greater than 1. Since the query already excludes the candlepin listen event, the number of tasks acceptable should be 0. As a result, the script will pass incorrectly.
[root@rhsm-qe-1 ~]# foreman-rake katello:upgrade_check
This script makes no modifications and can be re-run multiple times for the most up to date results.
Checking for running tasks...
[PASS] - There are 1 active tasks.