@@ -238,8 +238,8 @@ var _ = ginkgo.Describe("[csi-guest] Volume Expansion Test", func() {
238
238
pod .Name ,
239
239
"--namespace=" + namespace ,
240
240
"powershell.exe -Command" ,
241
- "$out = New-Object byte[] 536870912; (New-Object Random).NextBytes($out); " +
242
- "[System.IO.File]::WriteAllBytes('/mnt/volume1/testdata2.txt', $out)" ,
241
+ "' $out = New-Object byte[] 536870912; (New-Object Random).NextBytes($out); " +
242
+ "[System.IO.File]::WriteAllBytes('/mnt/volume1/testdata2.txt', $out)' " ,
243
243
}
244
244
_ = e2ekubectl .RunKubectlOrDie (namespace , cmdTestData ... )
245
245
} else {
@@ -1578,8 +1578,8 @@ var _ = ginkgo.Describe("[csi-guest] Volume Expansion Test", func() {
1578
1578
pod .Name ,
1579
1579
"--namespace=" + namespace ,
1580
1580
"-- powershell.exe -Command" ,
1581
- "$out = New-Object byte[] 536870912; (New-Object Random).NextBytes($out); " +
1582
- "[System.IO.File]::WriteAllBytes('/mnt/volume1/testdata2.txt', $out)" ,
1581
+ "' $out = New-Object byte[] 536870912; (New-Object Random).NextBytes($out); " +
1582
+ "[System.IO.File]::WriteAllBytes('/mnt/volume1/testdata2.txt', $out)' " ,
1583
1583
}
1584
1584
_ = e2ekubectl .RunKubectlOrDie (namespace , cmdTestData ... )
1585
1585
} else {
0 commit comments