We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f54d16b commit 38b8836Copy full SHA for 38b8836
pkg/gce-pd-csi-driver/cache_test.go
@@ -31,6 +31,11 @@ func TestFetchChunkSizeKiB(t *testing.T) {
31
cacheSize: "1",
32
expChunkSize: "160KiB", //range defined in fetchChunkSizeKiB - min 160 KiB
33
},
34
+ {
35
+ name: "chunk size with GiB string parses correctly",
36
+ cacheSize: "375GiB",
37
+ expChunkSize: "384KiB",
38
+ },
39
{
40
name: "invalid cacheSize",
41
cacheSize: "fdfsdKi",
0 commit comments