Looking at the code, this is already the case in master. OverrideFailedTesting is only available if the node is in the FAILED_TESTING status
Looking at the code, this is already the case in master. OverrideFailedT esting is only available if the node is in the FAILED_TESTING status