Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
seanzatzdev-amazon committed Aug 29, 2023
1 parent 7b7e44e commit bb86374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ var _ = ginkgo.Describe("[efs-csi] EFS CSI", func() {
// framework.ExpectNoError(err, "Fetching efs-csi-driver node pods")
// framework.ExpectNotEqual(len(nodePods.Items), 0, "Get node pods count")
// nodePodName := nodePods.Items[0].Name
cmd := fmt.Sprintf("[ -d \"/mnt/efs%s\" ] && echo \"/mnt/efs%s\"", directoryCreated, directoryCreated)
actualDir := framework.RunKubectlOrDie(f.Namespace.Name, "exec", pod.Name, "--", "/bin/sh", "-c", cmd)
cmd := fmt.Sprintf("cd mnt && cd efs && cd %s && pwd", directoryCreated)
actualDir := framework.RunKubectlOrDie(f.Namespace.Name, "exec", pod.Name, "--", "bash", "-c", cmd)
framework.Logf("%s", actualDir)

expectedDir := fmt.Sprintf("/mnt/efs%s", directoryCreated)
Expand Down

0 comments on commit bb86374

Please sign in to comment.