Commit 4a5a34b4 authored by Michelle Au's avatar Michelle Au

bump repd min size in e2es

parent 4b8ecd68
...@@ -27,7 +27,7 @@ import ( ...@@ -27,7 +27,7 @@ import (
"encoding/json" "encoding/json"
appsv1 "k8s.io/api/apps/v1" appsv1 "k8s.io/api/apps/v1"
"k8s.io/api/core/v1" v1 "k8s.io/api/core/v1"
storage "k8s.io/api/storage/v1" storage "k8s.io/api/storage/v1"
"k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
...@@ -49,6 +49,7 @@ const ( ...@@ -49,6 +49,7 @@ const (
pvDeletionTimeout = 3 * time.Minute pvDeletionTimeout = 3 * time.Minute
statefulSetReadyTimeout = 3 * time.Minute statefulSetReadyTimeout = 3 * time.Minute
taintKeyPrefix = "zoneTaint_" taintKeyPrefix = "zoneTaint_"
repdMinSize = "200Gi"
) )
var _ = utils.SIGDescribe("Regional PD", func() { var _ = utils.SIGDescribe("Regional PD", func() {
...@@ -106,8 +107,8 @@ func testVolumeProvisioning(c clientset.Interface, ns string) { ...@@ -106,8 +107,8 @@ func testVolumeProvisioning(c clientset.Interface, ns string) {
"zones": strings.Join(cloudZones, ","), "zones": strings.Join(cloudZones, ","),
"replication-type": "regional-pd", "replication-type": "regional-pd",
}, },
ClaimSize: "1.5Gi", ClaimSize: repdMinSize,
ExpectedSize: "2Gi", ExpectedSize: repdMinSize,
PvCheck: func(claim *v1.PersistentVolumeClaim, volume *v1.PersistentVolume) { PvCheck: func(claim *v1.PersistentVolumeClaim, volume *v1.PersistentVolume) {
var err error var err error
err = checkGCEPD(volume, "pd-standard") err = checkGCEPD(volume, "pd-standard")
...@@ -126,8 +127,8 @@ func testVolumeProvisioning(c clientset.Interface, ns string) { ...@@ -126,8 +127,8 @@ func testVolumeProvisioning(c clientset.Interface, ns string) {
"type": "pd-standard", "type": "pd-standard",
"replication-type": "regional-pd", "replication-type": "regional-pd",
}, },
ClaimSize: "1.5Gi", ClaimSize: repdMinSize,
ExpectedSize: "2Gi", ExpectedSize: repdMinSize,
PvCheck: func(claim *v1.PersistentVolumeClaim, volume *v1.PersistentVolume) { PvCheck: func(claim *v1.PersistentVolumeClaim, volume *v1.PersistentVolume) {
var err error var err error
err = checkGCEPD(volume, "pd-standard") err = checkGCEPD(volume, "pd-standard")
...@@ -309,7 +310,7 @@ func testRegionalDelayedBinding(c clientset.Interface, ns string, pvcCount int) ...@@ -309,7 +310,7 @@ func testRegionalDelayedBinding(c clientset.Interface, ns string, pvcCount int)
"type": "pd-standard", "type": "pd-standard",
"replication-type": "regional-pd", "replication-type": "regional-pd",
}, },
ClaimSize: "2Gi", ClaimSize: repdMinSize,
DelayBinding: true, DelayBinding: true,
} }
...@@ -342,8 +343,8 @@ func testRegionalAllowedTopologies(c clientset.Interface, ns string) { ...@@ -342,8 +343,8 @@ func testRegionalAllowedTopologies(c clientset.Interface, ns string) {
"type": "pd-standard", "type": "pd-standard",
"replication-type": "regional-pd", "replication-type": "regional-pd",
}, },
ClaimSize: "2Gi", ClaimSize: repdMinSize,
ExpectedSize: "2Gi", ExpectedSize: repdMinSize,
} }
suffix := "topo-regional" suffix := "topo-regional"
...@@ -367,7 +368,7 @@ func testRegionalAllowedTopologiesWithDelayedBinding(c clientset.Interface, ns s ...@@ -367,7 +368,7 @@ func testRegionalAllowedTopologiesWithDelayedBinding(c clientset.Interface, ns s
"type": "pd-standard", "type": "pd-standard",
"replication-type": "regional-pd", "replication-type": "regional-pd",
}, },
ClaimSize: "2Gi", ClaimSize: repdMinSize,
DelayBinding: true, DelayBinding: true,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment