Skip to content

Commit

Permalink
specify path
Browse files Browse the repository at this point in the history
  • Loading branch information
fenio committed Jun 28, 2024
1 parent 523c6cf commit c617e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/plugin/mount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TestMountPVC(t *testing.T) {
localMountPoint := "/home/runner/work/pv-mounter/pv-mounter/foo"

// Run the mount command using the tool
mountCmd := fmt.Sprintf("./pv-mounter mount %s %s %s", namespace, pvcName, localMountPoint)
mountCmd := fmt.Sprintf("/home/runner/work/pv-mounter/pv-mounter/pv-mounter mount %s %s %s", namespace, pvcName, localMountPoint)
if err := runCommand(mountCmd); err != nil {
t.Fatalf("Failed to mount PVC: %v", err)
}
Expand All @@ -46,7 +46,7 @@ func TestMountPVC(t *testing.T) {
}

// Run the unmount command using the tool
unmountCmd := fmt.Sprintf("./pv-mounter clean %s", localMountPoint)
unmountCmd := fmt.Sprintf("/home/runner/work/pv-mounter/pv-mounter/pv-mounter clean %s", localMountPoint)
if err := runCommand(unmountCmd); err != nil {
t.Fatalf("Failed to unmount the PVC: %v", err)
}
Expand Down

0 comments on commit c617e27

Please sign in to comment.