Skip to content

Commit

Permalink
test: set identical xfs file system in e2e test
Browse files Browse the repository at this point in the history
fix

use ext4 in clone test

fix
  • Loading branch information
andyzhangx committed Nov 1, 2023
1 parent 0b3ad69 commit 8123df2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/dynamic_provisioning_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ func (t *dynamicProvisioningTestSuite) defineTests(isMultiZone bool) {
Cmd: convertToPowershellorCmdCommandIfNecessary("echo 'hello world' > /mnt/test-1/data"),
Volumes: t.normalizeVolumes([]testsuites.VolumeDetails{
{
FSType: "ext4",
FSType: "xfs",
ClaimSize: "10Gi",
VolumeMount: testsuites.VolumeMountDetails{
NameGenerate: "test-volume-",
Expand Down Expand Up @@ -585,7 +585,7 @@ func (t *dynamicProvisioningTestSuite) defineTests(isMultiZone bool) {
pod := testsuites.PodDetails{
Volumes: t.normalizeVolumes([]testsuites.VolumeDetails{
{
FSType: "ext4",
FSType: "xfs",
ClaimSize: "10Gi",
VolumeMount: testsuites.VolumeMountDetails{
NameGenerate: "test-volume-",
Expand All @@ -600,7 +600,7 @@ func (t *dynamicProvisioningTestSuite) defineTests(isMultiZone bool) {
clonedVolumeSize := "20Gi"

podWithClonedVolume := testsuites.PodDetails{
Cmd: convertToPowershellorCmdCommandIfNecessary("df -h | grep /mnt/test- | awk '{print $2}' | grep 20.0G"),
Cmd: convertToPowershellorCmdCommandIfNecessary("df -h | grep /mnt/test- | awk '{print $2}' | grep 20"),
IsWindows: isWindowsCluster,
WinServerVer: winServerVer,
}
Expand Down

0 comments on commit 8123df2

Please sign in to comment.