forked from kubevirt/containerized-data-importer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix populators not repopulating pvc after it was deleted (kubevirt#3056)
* Add tests to verify pvc is recreated and repopulated after delete Signed-off-by: Shelly Kagan <[email protected]> * Create import/upload source CR in case population pod is not succeeded In case someone deleted the pvc a new pvc is created and the status of the dv is still succeded. when using populators in order for the population to restart and the dv state to change accordingly we need to retrigger the population, this depends on the existing of the source CR. That CR should exist as long as the pvc pod state is not succeeded. When the pvc is recreated the succeded pod state annotation was removed. Adjusted UT accordingly Signed-off-by: Shelly Kagan <[email protected]> * Adjust tests after review Move cloner test to a parallel test suite. Simplify import test. Signed-off-by: Shelly Kagan <[email protected]> --------- Signed-off-by: Shelly Kagan <[email protected]>
- Loading branch information
1 parent
0fb2261
commit 40a382d
Showing
9 changed files
with
95 additions
and
6 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
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
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
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
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