Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change the condition to consider a DV import failed
The test `TaskRun fails and DataVolume is modified but does not import successfully` checks if a DV has failed by asserting several fields on the DV. One of them is `conditions[cdiv1beta1.DataVolumeBound].Status == v1.ConditionTrue`. In the current version of CDI, if a DV fails to fetch the import link, which is the scenario in this test, the underlining PVC is not bound. Therefore, the test assertion fails even if the DV has failed to import. Signed-off-by: Javier Cano Cano <jcanocan@redhat.com>
- Loading branch information