Problem/Motivation
Discovered #3357969: For web server dependent unattended updates run the entire life cycle in a separate process that will not be affected by hosting time limits and makes this hard to test because when terminal multiple times with delays(because still don't run status checks more than 1x hour) this CronFrequencyValidator will start to error if you delay too long.
but the whole purpose CronFrequencyValidator is to ensure that updates and status checks will be run. but if you select "console" this will not happen via cron anyways so it is not valid check.
If you select "console" to run updates you should be able to run cron 1x day or less if that is all you need otherwise
Steps to reproduce
Exit early in CronFrequencyValidator if "console" method has been chosen to run updates
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork automatic_updates-3375679
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
tedbowI think this is simple fix and don't expect other tests break🤞🏻
Comment #4
phenaproximaWe could be a tad less verbose but the changes here make sense to me.
Comment #5
tedbow@phenaproxima applied your suggestions
Comment #6
phenaproximaComment #8
tedbow🎉