Fix size of repd e2e to use Gi

This commit is contained in:
Michelle Au 2018-09-10 13:29:52 -07:00
parent d7c849969d
commit 13e3da39ba

View File

@ -99,8 +99,8 @@ func testVolumeProvisioning(c clientset.Interface, ns string) {
"zones": strings.Join(cloudZones, ","),
"replication-type": "regional-pd",
},
claimSize: "1.5G",
expectedSize: "2G",
claimSize: "1.5Gi",
expectedSize: "2Gi",
pvCheck: func(volume *v1.PersistentVolume) error {
err := checkGCEPD(volume, "pd-standard")
if err != nil {
@ -117,8 +117,8 @@ func testVolumeProvisioning(c clientset.Interface, ns string) {
"type": "pd-standard",
"replication-type": "regional-pd",
},
claimSize: "1.5G",
expectedSize: "2G",
claimSize: "1.5Gi",
expectedSize: "2Gi",
pvCheck: func(volume *v1.PersistentVolume) error {
err := checkGCEPD(volume, "pd-standard")
if err != nil {