Skip to content

Commit

Permalink
fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
f41gh7 committed Jan 16, 2023
1 parent e7b57dd commit 1aeaca3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions controllers/factory/k8stools/expansion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ func Test_growSTSPVC(t *testing.T) {
},
},
Spec: appsv1.StatefulSetSpec{
Selector: &metav1.LabelSelector{
MatchLabels: map[string]string{
"app": "vmselect",
},
},
VolumeClaimTemplates: []v1.PersistentVolumeClaim{
{
ObjectMeta: metav1.ObjectMeta{
Expand Down Expand Up @@ -242,6 +247,11 @@ func Test_growSTSPVC(t *testing.T) {
},
},
Spec: appsv1.StatefulSetSpec{
Selector: &metav1.LabelSelector{
MatchLabels: map[string]string{
"app": "vmselect",
},
},
VolumeClaimTemplates: []v1.PersistentVolumeClaim{
{
ObjectMeta: metav1.ObjectMeta{
Expand Down Expand Up @@ -299,6 +309,11 @@ func Test_growSTSPVC(t *testing.T) {
},
},
Spec: appsv1.StatefulSetSpec{
Selector: &metav1.LabelSelector{
MatchLabels: map[string]string{
"app": "vmselect",
},
},
VolumeClaimTemplates: []v1.PersistentVolumeClaim{
{
ObjectMeta: metav1.ObjectMeta{
Expand Down

0 comments on commit 1aeaca3

Please sign in to comment.