Skip to content

Commit 29d8fcf

Browse files
committed
command fix2
1 parent 13f8d78 commit 29d8fcf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/e2e/gc_block_volume_expansion.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ var _ = ginkgo.Describe("[csi-guest] Volume Expansion Test", func() {
238238
pod.Name,
239239
"--namespace=" + namespace,
240240
"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)'",
243243
}
244244
_ = e2ekubectl.RunKubectlOrDie(namespace, cmdTestData...)
245245
} else {
@@ -1578,8 +1578,8 @@ var _ = ginkgo.Describe("[csi-guest] Volume Expansion Test", func() {
15781578
pod.Name,
15791579
"--namespace=" + namespace,
15801580
"-- 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)'",
15831583
}
15841584
_ = e2ekubectl.RunKubectlOrDie(namespace, cmdTestData...)
15851585
} else {

0 commit comments

Comments
 (0)