-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement new tasks, fix task bugs and improve testing (#584)
* Add flush and garbagecollect methods, sync and async * Implement new tasks, flush and garbagecollect * Modify Conditions to be metav1.Condition as it was close enough to JobCondition. Also, fix sync pod annotations to patch the correct instance. Modify the task Validator to mark the task as Failed instead of retrying until the task is fixed (and only logging to cass-operator logs why it is failing). * Fix a flake in replacenode tests that was due to the speed of the requeue causing a matching timing with the pod delete (before recreate). Also, implement scrub and compaction calls. * Add compaction and scrub tasks with tests. Improve testing in control tasks envtests by allowing to verify the payload sent to the management-api * Add rebuild task to the decommission_dc e2e test * Remove unintentional focused test * Fix filename typo * rebuild_task datacenter -> source_datacenter * Add logging to show the jobId that we fetch * Verify in the test_all_the_things that the cleanup task has completed * Add rack filtering to all genericPodFilter jobs
- Loading branch information
Showing
13 changed files
with
657 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.