Skip to content

Commit 7955a28

Browse files
authored
Merge pull request kubernetes#74764 from msau42/fix-repd-e2e
bump repd min size in e2es
2 parents 4bafef2 + 4a5a34b commit 7955a28

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

test/e2e/storage/regional_pd.go

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"encoding/json"
2828

2929
appsv1 "k8s.io/api/apps/v1"
30-
"k8s.io/api/core/v1"
30+
v1 "k8s.io/api/core/v1"
3131
storage "k8s.io/api/storage/v1"
3232
"k8s.io/apimachinery/pkg/api/resource"
3333
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -49,6 +49,7 @@ const (
4949
pvDeletionTimeout = 3 * time.Minute
5050
statefulSetReadyTimeout = 3 * time.Minute
5151
taintKeyPrefix = "zoneTaint_"
52+
repdMinSize = "200Gi"
5253
)
5354

5455
var _ = utils.SIGDescribe("Regional PD", func() {
@@ -106,8 +107,8 @@ func testVolumeProvisioning(c clientset.Interface, ns string) {
106107
"zones": strings.Join(cloudZones, ","),
107108
"replication-type": "regional-pd",
108109
},
109-
ClaimSize: "1.5Gi",
110-
ExpectedSize: "2Gi",
110+
ClaimSize: repdMinSize,
111+
ExpectedSize: repdMinSize,
111112
PvCheck: func(claim *v1.PersistentVolumeClaim, volume *v1.PersistentVolume) {
112113
var err error
113114
err = checkGCEPD(volume, "pd-standard")
@@ -126,8 +127,8 @@ func testVolumeProvisioning(c clientset.Interface, ns string) {
126127
"type": "pd-standard",
127128
"replication-type": "regional-pd",
128129
},
129-
ClaimSize: "1.5Gi",
130-
ExpectedSize: "2Gi",
130+
ClaimSize: repdMinSize,
131+
ExpectedSize: repdMinSize,
131132
PvCheck: func(claim *v1.PersistentVolumeClaim, volume *v1.PersistentVolume) {
132133
var err error
133134
err = checkGCEPD(volume, "pd-standard")
@@ -309,7 +310,7 @@ func testRegionalDelayedBinding(c clientset.Interface, ns string, pvcCount int)
309310
"type": "pd-standard",
310311
"replication-type": "regional-pd",
311312
},
312-
ClaimSize: "2Gi",
313+
ClaimSize: repdMinSize,
313314
DelayBinding: true,
314315
}
315316

@@ -342,8 +343,8 @@ func testRegionalAllowedTopologies(c clientset.Interface, ns string) {
342343
"type": "pd-standard",
343344
"replication-type": "regional-pd",
344345
},
345-
ClaimSize: "2Gi",
346-
ExpectedSize: "2Gi",
346+
ClaimSize: repdMinSize,
347+
ExpectedSize: repdMinSize,
347348
}
348349

349350
suffix := "topo-regional"
@@ -367,7 +368,7 @@ func testRegionalAllowedTopologiesWithDelayedBinding(c clientset.Interface, ns s
367368
"type": "pd-standard",
368369
"replication-type": "regional-pd",
369370
},
370-
ClaimSize: "2Gi",
371+
ClaimSize: repdMinSize,
371372
DelayBinding: true,
372373
}
373374

0 commit comments

Comments
 (0)