Skip to content

Commit

Permalink
Fix tests to accomodate customizable common PVC size
Browse files Browse the repository at this point in the history
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
  • Loading branch information
amisevsk committed Jul 12, 2021
1 parent 6f4d178 commit bc01b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provision/storage/commonStorage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func TestRewriteContainerVolumeMounts(t *testing.T) {
// tests := []testCase{loadTestCaseOrPanic(t, "testdata/can-make-projects-ephemeral.yaml")}
setupControllerCfg()
commonStorage := CommonStorageProvisioner{}
commonPVC, err := getCommonPVCSpec("test-namespace")
commonPVC, err := getCommonPVCSpec("test-namespace", "1Gi")
commonPVC.Status.Phase = corev1.ClaimBound
if err != nil {
t.Fatalf("Failure during setup: %s", err)
Expand Down

0 comments on commit bc01b98

Please sign in to comment.