This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, the release controller tests relied way too much on the actions it took to achieve a particular state, instead of just checking the final state directly. Here, we're taking the same approach that we took with the other controllers: check just the final state, without bothering too much about the actions we took to get there, as it makes for less brittle tests, and refactoring much easier. You'll also notice that a bunch of test cases are gone. Those are the ones that were testing behavior of the scheduler and the strategy executor. Scheduler tests are good enough, but you'll notice that the strategy executor is particularly devoid of them. That's a compromise I'm making to get this out the door quickly, but we'll coordinate to introduce tests to the strategy executor later.
- Loading branch information
1 parent
383f55f
commit 6b69e0b
Showing
6 changed files
with
654 additions
and
3,227 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
Oops, something went wrong.