Skip to content

Commit ed815d3

Browse files
authored
Merge pull request #526 from asungur/fix-e2e-gke
fix: e2e tests with GKE
2 parents 57a9949 + 52bdb29 commit ed815d3

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

hack/e2e.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ if [ "$PROVIDER" == "gke" ]; then
293293
-v 1
294294
--cluster-name "$CLUSTER"
295295
--network "$CLUSTER"
296+
--num-nodes 2
296297
--gcp-service-account "$GOOGLE_APPLICATION_CREDENTIALS"
297298
--environment "$GKE_ENVIRONMENT"
298299
)

hack/run-e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cd $ROOT
2828
PROVIDER=${PROVIDER:-}
2929
if [ "$PROVIDER" == "gke" ]; then
3030
KUBERNETES_SRC=
31-
KUBERNETES_PROVIDER=gke
31+
KUBERNETES_PROVIDER=gce
3232
KUBERNETES_CONFORMANCE_PROVIDER=gke
3333
KUBE_GCE_ZONE=${GCP_ZONE:-}
3434
PROJECT=${GCP_PROJECT:-}

test/e2e/e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,7 @@ func makeLocalPVCConfig(config *localTestConfig, volumeType localVolumeType) e2e
10011001
pvcConfig := e2epv.PersistentVolumeClaimConfig{
10021002
AccessModes: []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce},
10031003
StorageClassName: &config.scName,
1004+
ClaimSize: "1900Mi",
10041005
}
10051006
if volumeType == BlockLocalVolumeType {
10061007
pvcVolumeMode := v1.PersistentVolumeBlock

0 commit comments

Comments
 (0)