Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ese committed Jan 17, 2022
1 parent 60d8486 commit 02d4a6e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions operator/redisfailover/service/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ func TestRedisStatefulSetStorageGeneration(t *testing.T) {
},
VolumeClaimTemplates: []corev1.PersistentVolumeClaim{
{
TypeMeta: metav1.TypeMeta{
Kind: "PersistentVolumeClaim",
APIVersion: "v1",
},
ObjectMeta: metav1.ObjectMeta{
Name: "pvc-data",
},
Expand Down Expand Up @@ -354,6 +358,10 @@ func TestRedisStatefulSetStorageGeneration(t *testing.T) {
},
VolumeClaimTemplates: []corev1.PersistentVolumeClaim{
{
TypeMeta: metav1.TypeMeta{
Kind: "PersistentVolumeClaim",
APIVersion: "v1",
},
ObjectMeta: metav1.ObjectMeta{
Name: "pvc-data",
OwnerReferences: []metav1.OwnerReference{
Expand Down Expand Up @@ -465,6 +473,10 @@ func TestRedisStatefulSetStorageGeneration(t *testing.T) {
},
VolumeClaimTemplates: []corev1.PersistentVolumeClaim{
{
TypeMeta: metav1.TypeMeta{
Kind: "PersistentVolumeClaim",
APIVersion: "v1",
},
ObjectMeta: metav1.ObjectMeta{
Name: "pvc-data",
},
Expand Down

0 comments on commit 02d4a6e

Please sign in to comment.