-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rework existing JobBackoffMigration tests
Previous test used directly the column families to set up and update value, which is really error prone since underlying or usage of column families can change and this is not reflected in these test. Meaning they will not fail, as we saw. This commits couples the test with the actual JobState in order to set up the column family data correctly, and update it in an expected way. In this case the migration can also work properly and we can verify whether clean up works ok or not (cherry picked from commit 9c0f534)
- Loading branch information
1 parent
6719061
commit f6f2b03
Showing
1 changed file
with
33 additions
and
41 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