Skip to content

Commit e9d726e

Browse files
test: Update test configurations for memory and CPU limit scenarios
1 parent 8f98e37 commit e9d726e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

minikube/resource_cluster_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ func testUnitClusterNoLimitMemoryConfig(driver string, clusterName string) strin
881881
resource "minikube_cluster" "new" {
882882
driver = "%s"
883883
cluster_name = "%s"
884-
memory = "NoLimit"
884+
memory = "no-limit"
885885
}
886886
`, driver, clusterName)
887887
}
@@ -891,7 +891,7 @@ func testUnitClusterMaxMemoryConfig(driver string, clusterName string) string {
891891
resource "minikube_cluster" "new" {
892892
driver = "%s"
893893
cluster_name = "%s"
894-
memory = "Max"
894+
memory = "max"
895895
}
896896
`, driver, clusterName)
897897
}
@@ -901,7 +901,7 @@ func testUnitClusterNoLimitCPUConfig(driver string, clusterName string) string {
901901
resource "minikube_cluster" "new" {
902902
driver = "%s"
903903
cluster_name = "%s"
904-
cpus = -1
904+
cpus = "no-limit"
905905
}
906906
`, driver, clusterName)
907907
}
@@ -911,7 +911,7 @@ func testUnitClusterMaxCPUConfig(driver string, clusterName string) string {
911911
resource "minikube_cluster" "new" {
912912
driver = "%s"
913913
cluster_name = "%s"
914-
cpus = 0
914+
cpus = "max"
915915
}
916916
`, driver, clusterName)
917917
}

0 commit comments

Comments
 (0)