Skip to content

Commit

Permalink
chore: refactor e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobmoellerdev committed Sep 14, 2023
1 parent 1068f03 commit 6ada878
Show file tree
Hide file tree
Showing 31 changed files with 744 additions and 1,523 deletions.
4 changes: 2 additions & 2 deletions controllers/lvmcluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ func (r *LVMClusterReconciler) reconcile(ctx context.Context, instance *lvmv1alp
}
if lvsExist {
waitForLVRemoval := time.Second * 10
err := fmt.Errorf("found PVCs provisioned by topolvm, waiting %s for their deletion: %w", waitForLVRemoval, err)
err := fmt.Errorf("found PVCs provisioned by topolvm, waiting %s for their deletion", waitForLVRemoval)
r.WarningEvent(ctx, instance, EventReasonErrorDeletionPending, err)
// check every 10 seconds if there are still PVCs present
return ctrl.Result{RequeueAfter: waitForLVRemoval}, err
return ctrl.Result{RequeueAfter: waitForLVRemoval}, nil
}

logger.Info("processing LVMCluster deletion")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
354 changes: 0 additions & 354 deletions test/e2e/ephemeral_check.go

This file was deleted.

Loading

0 comments on commit 6ada878

Please sign in to comment.